summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-08-21 11:56:30 +0000
committermidipix <writeonce@midipix.org>2019-08-21 12:00:46 +0000
commit5e860d974cd0e181de2757e91c4d87e4bec86d97 (patch)
tree8ecaddcbcb9a456797a48d701fe01d48b1f6ba8b
parent4062dcc54838d0249709a5a35fc5b44edd97eab4 (diff)
downloadntapi-5e860d974cd0e181de2757e91c4d87e4bec86d97.tar.bz2
ntapi-5e860d974cd0e181de2757e91c4d87e4bec86d97.tar.xz
build system: pkgconf.sh: add missing -L switch (oversight).
-rwxr-xr-xsofort/tools/pkgconf.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/sofort/tools/pkgconf.sh b/sofort/tools/pkgconf.sh
index 392647a..9bbc652 100755
--- a/sofort/tools/pkgconf.sh
+++ b/sofort/tools/pkgconf.sh
@@ -55,11 +55,11 @@ fi
# ldflags (--libs)
if [ -n "$pkgconf_libdir" ] && [ -n "${PKGCONF_NAME}" ]; then
- pkgconf_ldflags="$pkgconf_libdir -l${PKGCONF_NAME}"
+ pkgconf_ldflags="-L$pkgconf_libdir -l${PKGCONF_NAME}"
elif [ -n "${PKGCONF_NAME}" ]; then
pkgconf_ldflags="-l${PKGCONF_NAME}"
else
- pkgconf_ldflags="$pkgconf_libdir"
+ pkgconf_ldflags="-L$pkgconf_libdir"
fi