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:05:39 +0000
commit6895706c6e6c43c0a9afff89e173eca54e67f67f (patch)
treebad218370825ec16d4693544e3bdf6bf87e01ca2
parenta5d67e63fe1c5797843169d34c59b677e69b6f47 (diff)
downloadsbpython2-6895706c6e6c43c0a9afff89e173eca54e67f67f.tar.bz2
sbpython2-6895706c6e6c43c0a9afff89e173eca54e67f67f.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
}