浏览代码

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.
Tatsuhiro Tsujikawa 11 年之前
父节点
当前提交
2d4f27cb2e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      mingw-config

+ 1 - 1
mingw-config

@@ -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"