diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2007-06-14 23:18:15 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2007-06-14 23:18:15 (GMT) |
commit | 04dcab9990381ed5bc5dca6e9ecc517c75f977e1 (patch) | |
tree | ccd128a16739cbffef6fa82eade0da473c33c830 | |
parent | c52a0f79e8ed34a7335f2b956a0f4f636cc3f5bc (diff) | |
download | mxe-04dcab9990381ed5bc5dca6e9ecc517c75f977e1.zip mxe-04dcab9990381ed5bc5dca6e9ecc517c75f977e1.tar.gz mxe-04dcab9990381ed5bc5dca6e9ecc517c75f977e1.tar.bz2 |
portability fixes
-rwxr-xr-x | build_static_win32_libs.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/build_static_win32_libs.sh b/build_static_win32_libs.sh index cfa116b..b22c530 100755 --- a/build_static_win32_libs.sh +++ b/build_static_win32_libs.sh @@ -213,6 +213,7 @@ tar xfvj "$DOWNLOAD/libgcrypt-$VERSION_libgcrypt.tar.bz2" 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 @@ cd "libpng-$VERSION_libpng" ./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= |