From 2dab37e4553a452d2ce02b251945637f8f73482e 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