Workaround: Use PKG_CONFIG_PATH instead of PKG_CONFIG_LIBDIR for mingw32

Not sure why PKG_CONFIG_LIBDIR does not work with mingw32 cross
compiler. Android toolchain works with it. As a workaround, we use
PKG_CONFIG_PATH for mingw32.
pull/180/head
Tatsuhiro Tsujikawa 2013-12-27 00:22:40 +09:00
parent faddaf5415
commit 2d4f27cb2e
1 changed files with 1 additions and 1 deletions

View File

@ -75,4 +75,4 @@ test -z "$PREFIX" && PREFIX=/usr/local/$HOST
ARIA2_STATIC=yes \
CPPFLAGS="-I$PREFIX/include" \
LDFLAGS="-L$PREFIX/lib" \
PKG_CONFIG_LIBDIR="$PREFIX/lib/pkgconfig"
PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig"