summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-08-21 14:40:38 -0400
committermidipix <writeonce@midipix.org>2019-08-21 14:41:06 -0400
commit7b390a9749e750b133312a3af6c0b85b1d2a5b0e (patch)
tree02bccf0bf25e50e55be3c6842b1111f1e7755399
parent362cfbe8679a898e19f856f0851f2d68cdde93eb (diff)
downloaddalist-7b390a9749e750b133312a3af6c0b85b1d2a5b0e.tar.bz2
dalist-7b390a9749e750b133312a3af6c0b85b1d2a5b0e.tar.xz
build system: pkgconf.sh: output Libs and Ldflags more elegantly.
-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