summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-04-11 09:51:28 +0000
committermidipix <writeonce@midipix.org>2021-04-11 10:25:24 +0000
commitd206ac64bc5c0c6db67178cf3f51fcbdfeec523c (patch)
tree82261265ba9ffef6a22118f8de2a9fe1fab56cfa
parent8f150f3b921e97627c08d4b148f4377e7ce077c6 (diff)
downloadmdso-d206ac64bc5c0c6db67178cf3f51fcbdfeec523c.tar.bz2
mdso-d206ac64bc5c0c6db67178cf3f51fcbdfeec523c.tar.xz
build system: configure: append LIBDIR as the last linker path element.
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
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
}