diff options
author | midipix <writeonce@midipix.org> | 2019-08-21 11:56:30 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-08-21 12:00:47 +0000 |
commit | 88d867467072a39e82c4acbceb63c93989c8b89d (patch) | |
tree | fd172df3eb36073b230815bc1747fa43a581ce71 | |
parent | cadd8231608120cfed9cf60802185b5cfdd07dfc (diff) | |
download | slibtool-88d867467072a39e82c4acbceb63c93989c8b89d.tar.bz2 slibtool-88d867467072a39e82c4acbceb63c93989c8b89d.tar.xz |
build system: pkgconf.sh: add missing -L switch (oversight).
-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 392647a..9bbc652 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="$pkgconf_libdir -l${PKGCONF_NAME}" + pkgconf_ldflags="-L$pkgconf_libdir -l${PKGCONF_NAME}" elif [ -n "${PKGCONF_NAME}" ]; then pkgconf_ldflags="-l${PKGCONF_NAME}" else - pkgconf_ldflags="$pkgconf_libdir" + pkgconf_ldflags="-L$pkgconf_libdir" fi |