diff options
author | midipix <writeonce@midipix.org> | 2019-08-21 14:40:38 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-08-21 14:41:08 -0400 |
commit | ed8832cef6850eb6f6c0e87a149c623fb44a492d (patch) | |
tree | 316d3b7aa0ccb4115fc55b95071b1f74c9f33413 /sofort/tools/pkgconf.sh | |
parent | 88d867467072a39e82c4acbceb63c93989c8b89d (diff) | |
download | slibtool-ed8832cef6850eb6f6c0e87a149c623fb44a492d.tar.bz2 slibtool-ed8832cef6850eb6f6c0e87a149c623fb44a492d.tar.xz |
build system: pkgconf.sh: output Libs and Ldflags more elegantly.
Diffstat (limited to 'sofort/tools/pkgconf.sh')
-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 |