From 9e6563ab4e096967bb294d91a901b57c5a983f88 Mon Sep 17 00:00:00 2001 From: midipix Date: Aug 21 2019 11:56:30 +0000 Subject: build system: pkgconf.sh: add missing -L switch (oversight). --- 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