summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>2001-07-23 14:13:19 +0000
committerRichard Sharpe <sharpe@samba.org>2001-07-23 14:13:19 +0000
commit7867341747eb853afb5f932b2b9a3a89500707fa (patch)
treea8d24a5975b62b5867684d4d971d6863b84807a2 /source3
parent6b424641724742f833c1563c0939b09b32615805 (diff)
downloadsamba-7867341747eb853afb5f932b2b9a3a89500707fa.tar.gz
samba-7867341747eb853afb5f932b2b9a3a89500707fa.tar.bz2
samba-7867341747eb853afb5f932b2b9a3a89500707fa.zip
Fix some fscked up things that I added to the Solaris CC build of shared libs
(This used to be commit f214f6b5d5157782884f3325cb4e39713c454264)
Diffstat (limited to 'source3')
-rw-r--r--source3/Makefile.in4
-rw-r--r--source3/configure.in2
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index 8e02400b98..a4ea95f6ec 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -449,8 +449,8 @@ MAKEDIR = || exec false; \
@if (: >> $@ || : > $@) >/dev/null 2>&1; then rm -f $@; else \
dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR); fi
@echo Compiling $*.c with @PICFLAG@
- @$(CC) -I. -I$(srcdir) $(FLAGS) @PICFLAG@ -c $< -o $*.po
-@BROKEN_CC@ -mv `echo $@ | sed -e 's%^.*/%%g' -e 's%\.po$$%.o%'` $@.@PICSUFFIX@
+ @$(CC) -I. -I$(srcdir) $(FLAGS) @PICFLAG@ -c $< -o $*.@PICSUFFIX@
+@BROKEN_CC@ -mv `echo $@ | sed -e 's%^.*/%%g' -e 's%\.po$$%.o%'` $@
@POBAD_CC@ @mv $*.po.o $@
# this is for IRIX
diff --git a/source3/configure.in b/source3/configure.in
index 1691e73f21..ea376770ee 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -632,7 +632,7 @@ case "$host_os" in
PICFLAG="-KPIC -xO4"
POBAD_CC=""
PICSUFFIX="po.o"
- LDSHFLAGS="-Wl,-soname,\$@"
+ LDSHFLAGS="-G"
fi
;;
*sunos*) AC_DEFINE(SUNOS4)