diff options
author | midipix <writeonce@midipix.org> | 2019-08-21 14:40:38 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-08-21 14:41:06 -0400 |
commit | 9d1795c2e931e3cad31410488d7cf38ee72debcb (patch) | |
tree | ccbc8bd25c1640a6a9c29664db628c0455f90a4c | |
parent | 04b382ec75f6ff3e3721648a5ca57127730a753b (diff) | |
download | bfirm-9d1795c2e931e3cad31410488d7cf38ee72debcb.tar.bz2 bfirm-9d1795c2e931e3cad31410488d7cf38ee72debcb.tar.xz |
build system: pkgconf.sh: output Libs and Ldflags more elegantly.
-rwxr-xr-x | sofort/tools/pkgconf.sh | 4 |
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 |