Mercurial > mxe-octave
changeset 3:f2c5fb913829
portability fixes
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Fri, 15 Jun 2007 01:18:15 +0200 |
parents | 6933ceaac6d1 |
children | b79ac488fd9a |
files | build_static_win32_libs.sh |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/build_static_win32_libs.sh Thu Jun 14 20:16:04 2007 +0200 +++ b/build_static_win32_libs.sh Fri Jun 15 01:18:15 2007 +0200 @@ -213,6 +213,7 @@ cd "libgcrypt-$VERSION_libgcrypt" sed '26i\#include <ws2tcpip.h>' -i src/gcrypt.h.in sed '26i\#include <ws2tcpip.h>' -i src/ath.h +sed 's,sys/times.h,sys/time.h,' -i cipher/random.c ./configure \ --build="$BUILD" --host="$TARGET" \ --disable-shared \ @@ -276,7 +277,9 @@ ./configure \ --build="$BUILD" --host="$TARGET" \ --disable-shared \ - --prefix="$PREFIX" + --prefix="$PREFIX" \ + CFLAGS="-I$PREFIX/include" \ + LDFLAGS="-L$PREFIX/lib" make install bin_PROGRAMS= noinst_PROGRAMS=