summaryrefslogtreecommitdiffstats
path: root/Templates
diff options
context:
space:
mode:
Diffstat (limited to 'Templates')
-rwxr-xr-xTemplates/configure4
-rw-r--r--Templates/configure.in4
2 files changed, 4 insertions, 4 deletions
diff --git a/Templates/configure b/Templates/configure
index 0c4dfb9..e91dab4 100755
--- a/Templates/configure
+++ b/Templates/configure
@@ -2590,9 +2590,9 @@ fi
CMAKE_SHLIB_SUFFIX=".sl"
CMAKE_MODULE_SUFFIX=".sl"
CMAKE_DL_LIBS="-ldld"
- CMAKE_SHLIB_BUILD_FLAGS='+Z -Wl,-E -b'
+ CMAKE_SHLIB_BUILD_FLAGS='+Z -Wl,-E -b -L/usr/lib'
CMAKE_SHLIB_LINK_FLAGS='-Wl,+s'
- CMAKE_MODULE_BUILD_FLAGS='+Z -Wl,-E -b'
+ CMAKE_MODULE_BUILD_FLAGS='+Z -Wl,-E -b -L/usr/lib'
CMAKE_MODULE_LINK_FLAGS='-Wl,+s'
CMAKE_SHLIB_RUNTIME_FLAG='-Wl,+b,'
CMAKE_SHLIB_RUNTIME_SEP=':'
diff --git a/Templates/configure.in b/Templates/configure.in
index 4179abd..1dbda44 100644
--- a/Templates/configure.in
+++ b/Templates/configure.in
@@ -170,9 +170,9 @@ case $system in
CMAKE_SHLIB_SUFFIX=".sl"
CMAKE_MODULE_SUFFIX=".sl"
CMAKE_DL_LIBS="-ldld"
- CMAKE_SHLIB_BUILD_FLAGS='+Z -Wl,-E -b'
+ CMAKE_SHLIB_BUILD_FLAGS='+Z -Wl,-E -b -L/usr/lib'
CMAKE_SHLIB_LINK_FLAGS='-Wl,+s'
- CMAKE_MODULE_BUILD_FLAGS='+Z -Wl,-E -b'
+ CMAKE_MODULE_BUILD_FLAGS='+Z -Wl,-E -b -L/usr/lib'
CMAKE_MODULE_LINK_FLAGS='-Wl,+s'
CMAKE_SHLIB_RUNTIME_FLAG='-Wl,+b,'
CMAKE_SHLIB_RUNTIME_SEP=':'