diff options
author | midipix <writeonce@midipix.org> | 2019-08-21 14:40:38 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-08-21 14:41:07 -0400 |
commit | fd1e3ba4451617b7a35da5f86082e4d5499e9c27 (patch) | |
tree | 5182fbee5e4b9eb35fb1540d226261e4c4e14f58 | |
parent | 9c0b3d1f80f9e0685b3d996550566514d817f1da (diff) | |
download | ntcon-fd1e3ba4451617b7a35da5f86082e4d5499e9c27.tar.bz2 ntcon-fd1e3ba4451617b7a35da5f86082e4d5499e9c27.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 |