diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-04-24 09:34:22 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:04:15 -0500 |
commit | e26eea97872f856d35463834d42b86e58b144f58 (patch) | |
tree | d1e230dbcbfc32868911d690c7954037e48738c2 /source4 | |
parent | cdae64b18c46926f32ecee71896e60b66228e8b0 (diff) | |
download | samba-e26eea97872f856d35463834d42b86e58b144f58.tar.gz samba-e26eea97872f856d35463834d42b86e58b144f58.tar.bz2 samba-e26eea97872f856d35463834d42b86e58b144f58.zip |
r15190: Disable sonames for the BSDs and solaris as they don't take more then
one version number (0 rather then 0.0.1)
(This used to be commit cb0fbee3eaca67e430df3266c6ce07c0a9248a60)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/build/m4/rewrite.m4 | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/source4/build/m4/rewrite.m4 b/source4/build/m4/rewrite.m4 index 5bb02835bf..9771dabfa6 100644 --- a/source4/build/m4/rewrite.m4 +++ b/source4/build/m4/rewrite.m4 @@ -112,11 +112,10 @@ BLDMERGED="true" # these are the defaults, good for lots of systems HOST_OS="$host_os" LDSHFLAGS="-shared" -SONAMEFLAG="#" +SONAMEFLAG="" SHLD="\${CC}" PICFLAG="" PICSUFFIX="po" -POBAD_CC="#" SHLIBEXT="so" AC_MSG_CHECKING([ability to build shared libraries]) @@ -134,7 +133,6 @@ case "$host_os" in *solaris*) AC_DEFINE(SUNOS5,1,[Whether the host os is solaris]) BLDSHARED="true" LDSHFLAGS="-G" - SONAMEFLAG="-h " if test "${GCC}" = "yes"; then PICFLAG="-fPIC" if test "${ac_cv_prog_gnu_ld}" = "yes"; then @@ -145,7 +143,6 @@ case "$host_os" in ## ${CFLAGS} added for building 64-bit shared ## libs using Sun's Compiler LDSHFLAGS="-G \${CFLAGS}" - POBAD_CC="" PICSUFFIX="po.o" fi AC_DEFINE(STAT_ST_BLOCKSIZE,512,[The size of a block]) @@ -153,21 +150,18 @@ case "$host_os" in *sunos*) AC_DEFINE(SUNOS4,1,[Whether the host os is sunos4]) BLDSHARED="true" LDSHFLAGS="-G" - SONAMEFLAG="-Wl,-h," PICFLAG="-KPIC" # Is this correct for SunOS AC_DEFINE(STAT_ST_BLOCKSIZE,512) ;; *netbsd* | *freebsd*) BLDSHARED="true" LDSHFLAGS="-shared" DYNEXP="-Wl,--export-dynamic" - SONAMEFLAG="-Wl,-soname," PICFLAG="-fPIC -DPIC" AC_DEFINE(STAT_ST_BLOCKSIZE,512,[The size of a block]) ;; *openbsd*) BLDSHARED="true" LDSHFLAGS="-shared" DYNEXP="-Wl,-Bdynamic" - SONAMEFLAG="-Wl,-soname," PICFLAG="-fPIC" AC_DEFINE(STAT_ST_BLOCKSIZE,512,[The size of a block]) ;; |