From 42cfaf3fbc04f2cfd4e7c9e06ee734343963f106 Mon Sep 17 00:00:00 2001 From: midipix Date: Aug 21 2019 18:40:38 +0000 Subject: build system: pkgconf.sh: output Libs and Ldflags more elegantly. --- 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