summaryrefslogtreecommitdiff
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:45 +0000
commitc24d951c6ea5527d147618ddf37e5abbc384191d (patch)
tree19b14a4d2702ef634639782759d94b9908bc023d
parentf170e4b223ece116221ae17e5156c4cc3274d5a7 (diff)
downloadapimagic-c24d951c6ea5527d147618ddf37e5abbc384191d.tar.bz2
apimagic-c24d951c6ea5527d147618ddf37e5abbc384191d.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