summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-01-08 17:53:21 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-01-08 17:53:21 (GMT)
commitb72914bb9ab375e80f36c7e683fcf67af81dd555 (patch)
treec931dd2356e4a575677f70b12d75955ce1a9a47a
parent449564a8e5ca2085cd5c9997be648e695f1f8876 (diff)
downloadCMake-b72914bb9ab375e80f36c7e683fcf67af81dd555.zip
CMake-b72914bb9ab375e80f36c7e683fcf67af81dd555.tar.gz
CMake-b72914bb9ab375e80f36c7e683fcf67af81dd555.tar.bz2
ENH: add -L/usr/lib for hp so shared libs find that directory before the pa1.1 directory
-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=':'