mirror of https://github.com/aria2/aria2
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
parent
faddaf5415
commit
2d4f27cb2e
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue