From e85602c46a5518d1dd13f99b2b81c08c5e910755 Mon Sep 17 00:00:00 2001 From: midipix Date: Apr 11 2021 10:25:24 +0000 Subject: build system: configure: append LIBDIR as the last linker path element. --- 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 }