Another fine mess, err, fine tune to the Slowaris build ...
authorRichard Sharpe <sharpe@samba.org>
Tue, 24 Jul 2001 00:34:45 +0000 (00:34 +0000)
committerRichard Sharpe <sharpe@samba.org>
Tue, 24 Jul 2001 00:34:45 +0000 (00:34 +0000)
(This used to be commit e8ee01eb779c1971fa269840cb14d2207b9d8569)

source3/configure.in

index ccfdd619b605c1b93135a088f2133354a472eb80..91e31354186697f12c61ed67ad36a3719067f21b 100644 (file)
@@ -625,14 +625,13 @@ case "$host_os" in
                ;;
                *solaris*) AC_DEFINE(SUNOS5)
                        BLDSHARED="true"
+                       LDSHFLAGS="-Wl,-h,\$@.so -G"
                        if test "${ac_cv_prog_CC}" = "gcc"; then
                                PICFLAG="-fPIC"
-                               LDSHFLAGS="-shared"
                        else
                                PICFLAG="-KPIC -xO4"
                                POBAD_CC=""
                                PICSUFFIX="po.o"
-                               LDSHFLAGS="-Wl,-h,\$@ -G"
                        fi
                ;;
                *sunos*) AC_DEFINE(SUNOS4)