summaryrefslogtreecommitdiffhomepage
path: root/sofort
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:07 -0400
commit0bb54113c2cd43b56d2462cd0e904e387ae7a498 (patch)
tree5d7a09ac2bc146e6210c900f0db0d6f457716866 /sofort
parentc76a543339ab17273dadd43a0006b26309c97102 (diff)
downloadptycon-0bb54113c2cd43b56d2462cd0e904e387ae7a498.tar.bz2
ptycon-0bb54113c2cd43b56d2462cd0e904e387ae7a498.tar.xz
build system: pkgconf.sh: output Libs and Ldflags more elegantly.
Diffstat (limited to 'sofort')
-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