From 36276a271744c50f59ed5b5550e971d536dfa3e8 Mon Sep 17 00:00:00 2001 From: midipix Date: Apr 11 2021 10:22:30 +0000 Subject: build system: cfgtest.sh: append LIBDIR as the last linker path element. --- diff --git a/sofort/cfgtest/cfgtest.sh b/sofort/cfgtest/cfgtest.sh index 3398483..45a324e 100644 --- a/sofort/cfgtest/cfgtest.sh +++ b/sofort/cfgtest/cfgtest.sh @@ -493,7 +493,7 @@ cfgtest_library_presence() cfgtest_cmd=$(printf '%s -o a.out -xc - %s' \ "$mb_cfgtest_cc" "$mb_cfgtest_cflags") - cfgtest_cmd="$cfgtest_cmd $cfgtest_libs" + cfgtest_cmd="$cfgtest_cmd -L${mb_libdir} $cfgtest_libs" printf '%s' "$cfgtest_code_snippet" \ | $(printf '%s' "$cfgtest_cmd") \