From d206ac64bc5c0c6db67178cf3f51fcbdfeec523c Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 11 Apr 2021 09:51:28 +0000 Subject: build system: configure: append LIBDIR as the last linker path element. --- configure | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure b/configure index 9224416..7c51b56 100755 --- a/configure +++ b/configure @@ -631,6 +631,9 @@ common_defaults() mb_cflags_cmdline="$mb_cflags_cmdline $mb_cflags" mb_ldflags_cmdline="$mb_ldflags_cmdline $mb_ldflags" + # add the prefix's library directory to the linker library path + mb_ldflags_last="$mb_ldflags_last -L$mb_libdir" + # step epilog output_step_epilog } -- cgit v1.2.3