diff options
author | Lars Müller <lmuelle@samba.org> | 2006-02-09 21:26:32 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:10:00 -0500 |
commit | 34352fe039fb0fc08ce7a410d913da6d4342f809 (patch) | |
tree | 99e1fa2f0b739eb47bf7183a53ba7509327d1bae /source3/configure.in | |
parent | 45f2e5997b8c9e95ddf5831926ff6bc5243a74f7 (diff) | |
download | samba-34352fe039fb0fc08ce7a410d913da6d4342f809.tar.gz samba-34352fe039fb0fc08ce7a410d913da6d4342f809.tar.bz2 samba-34352fe039fb0fc08ce7a410d913da6d4342f809.zip |
r13417: Add .2 to the SONAME as version suffix if we link the nss modules on
linux.
Heads up: This might be required on other OS using glibc too.
(This used to be commit b28e43427b43994404f109ce7da467461af12200)
Diffstat (limited to 'source3/configure.in')
-rw-r--r-- | source3/configure.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in index 932a902c8f..2c969a9c41 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -206,6 +206,7 @@ dnl Unique-to-Samba variables we'll be playing with. AC_SUBST(SHELL) AC_SUBST(LDSHFLAGS) AC_SUBST(SONAMEFLAG) +AC_SUBST(SONAMEVERSIONSUFFIX) AC_SUBST(SHLD) AC_SUBST(HOST_OS) AC_SUBST(PICFLAGS) @@ -1382,6 +1383,7 @@ BLDSHARED="false" HOST_OS="$host_os" LDSHFLAGS="-shared" SONAMEFLAG="#" +SONAMEVERSIONSUFFIX="" SHLD="\${CC} \${CFLAGS}" PICFLAGS="" PICSUFFIX="po" @@ -1406,6 +1408,7 @@ if test "$enable_shared" = "yes"; then DYNEXP="-Wl,--export-dynamic" PICFLAGS="-fPIC" SONAMEFLAG="-Wl,-soname=" + SONAMEVERSIONSUFFIX=".2" AC_DEFINE(STAT_ST_BLOCKSIZE,512) ;; *solaris*) AC_DEFINE(SUNOS5,1,[Whether the host os is solaris]) |