changeset 3564:6e5104dcf645 trunk

Update sharedlib.m4.
author William Pitcock <nenolod@atheme.org>
date Tue, 18 Sep 2007 14:07:22 -0500
parents cc888ce7b6fb
children 21601ce39fa1 97b10cd95da2 978fbda4855f
files m4/sharedlib.m4
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/m4/sharedlib.m4	Tue Sep 18 13:54:22 2007 -0500
+++ b/m4/sharedlib.m4	Tue Sep 18 14:07:22 2007 -0500
@@ -53,7 +53,7 @@
 			AC_MSG_RESULT(Solaris)
 			LIB_CPPFLAGS='-DPIC'
 			LIB_CFLAGS='-fPIC'
-			LIB_LDFLAGS='-shared -fPIC -Wl,-h${LIB}'
+			LIB_LDFLAGS='-shared -fPIC -Wl,-soname=${LIB}.${LIB_MAJOR}.${LIB_MINOR}'
 			LIB_PREFIX='lib'
 			LIB_SUFFIX='.so'
 			PLUGIN_CPPFLAGS='-DPIC'
@@ -81,7 +81,7 @@
 			AC_MSG_RESULT(POSIX)
 			LIB_CPPFLAGS='-DPIC'
 			LIB_CFLAGS='-fPIC'
-			LIB_LDFLAGS='-shared -fPIC -Wl,-h${LIB}'
+			LIB_LDFLAGS='-shared -fPIC -Wl,-soname=${LIB}.${LIB_MAJOR}.${LIB_MINOR}.0'
 			LIB_PREFIX='lib'
 			LIB_SUFFIX='.so'
 			PLUGIN_CPPFLAGS='-DPIC'