summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-12-29 21:08:11 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-12-29 21:11:41 +0100
commit265d477c5933eb0d6561037f9dac7017492daf18 (patch)
tree2f834120d77984ef6a2e6d0c34285b955103403f
parent6b6a6f64b882cbd380eee7f20d5e5cbd292c6b16 (diff)
Add PKG_CONFIG_PATH back to mkwinbins.sh
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
-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 \