summaryrefslogtreecommitdiff
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:23 +0000
commit8cbedc3851a1c91a8dff710aad2fd5fd2fe3ec7f (patch)
tree7dc670d8f384346785416abbc36553781b8b6dd2
parent5d1be3911756ad56ca816a94306d5d22b835c07c (diff)
downloadbautomake-8cbedc3851a1c91a8dff710aad2fd5fd2fe3ec7f.tar.bz2
bautomake-8cbedc3851a1c91a8dff710aad2fd5fd2fe3ec7f.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
}