summaryrefslogtreecommitdiff
path: root/mkwinbins.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mkwinbins.sh')
-rwxr-xr-xmkwinbins.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/mkwinbins.sh b/mkwinbins.sh
index cbd55fc..65b743e 100755
--- a/mkwinbins.sh
+++ b/mkwinbins.sh
@@ -127,6 +127,8 @@ _EOF
################################ build 32 bit ################################
+export PKG_CONFIG_PATH="$W32_DIR/lib/pkgconfig"
+
./autogen.sh
./configure CFLAGS="-O2" LZO_CFLAGS="-I$W32_DIR/include" \
LZO_LIBS="-L$W32_DIR/lib -llzo2" \
@@ -146,6 +148,8 @@ make install-strip
################################ build 64 bit ################################
+export PKG_CONFIG_PATH="$W64_DIR/lib/pkgconfig"
+
./configure CFLAGS="-O2" LZO_CFLAGS="-I$W64_DIR/include" \
LZO_LIBS="-L$W64_DIR/lib -llzo2" \
--prefix="$W64_DIR" --host="$W64_PREFIX" --with-builtin-lz4 \