]> gitweb @ CieloNegro.org - autobuild.git/blobdiff - lib/setPath.bash
Fix a bug in handling PKG_CONFIG_PATH.
[autobuild.git] / lib / setPath.bash
index f41363fb9deba77bad72095311870c2ca031f437..057a0f40541b75fd7a193159e4f2edcbe4adea9f 100644 (file)
@@ -29,7 +29,7 @@ function setPath () {
         "PKG_CONFIG_PATH")
             # THINKME: Special case for PKG_CONFIG_PATH: we prepend
             # "$prefix/lib/pkgconfig" to it.
-            PKG_CONFIG_PATH="$prefix/lib/pkgconfig";;
+            PKG_CONFIG_PATH="$prefix/lib/pkgconfig:$PKG_CONFIG_PATH";;
         *)
             ;;
     esac