summaryrefslogtreecommitdiffhomepage
path: root/configure
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
commit2dab37e4553a452d2ce02b251945637f8f73482e (patch)
tree99f4dd2834a74f72b6876d2b9eee89ea940c3a6d /configure
parent304443ac59ce26524d4aab18debdbba578e4c022 (diff)
downloadpemagine-2dab37e4553a452d2ce02b251945637f8f73482e.tar.bz2
pemagine-2dab37e4553a452d2ce02b251945637f8f73482e.tar.xz
build system: configure: append LIBDIR as the last linker path element.
Diffstat (limited to 'configure')
-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
}