summaryrefslogtreecommitdiffhomepage
path: root/sofort/tools
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-08-21 14:40:38 -0400
committermidipix <writeonce@midipix.org>2019-10-17 11:34:50 +0000
commit78887455d9faebbd3ae3e2969b3f940fe65c3fe3 (patch)
tree3c1681bbd41cea4b5cd2369afc99566b31f2ab5f /sofort/tools
parentbde9c471404b0b4c640a8fc5406ef503a1348fbe (diff)
downloadntux-78887455d9faebbd3ae3e2969b3f940fe65c3fe3.tar.bz2
ntux-78887455d9faebbd3ae3e2969b3f940fe65c3fe3.tar.xz
build system: pkgconf.sh: output Libs and Ldflags more elegantly.
Diffstat (limited to 'sofort/tools')
-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 9bbc652..e14517f 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="-L$pkgconf_libdir -l${PKGCONF_NAME}"
+ pkgconf_ldflags='-L${libdir}'" -l${PKGCONF_NAME}"
elif [ -n "${PKGCONF_NAME}" ]; then
pkgconf_ldflags="-l${PKGCONF_NAME}"
else
- pkgconf_ldflags="-L$pkgconf_libdir"
+ pkgconf_ldflags='-L${libdir}'
fi