From 7867341747eb853afb5f932b2b9a3a89500707fa Mon Sep 17 00:00:00 2001 From: Richard Sharpe Date: Mon, 23 Jul 2001 14:13:19 +0000 Subject: Fix some fscked up things that I added to the Solaris CC build of shared libs (This used to be commit f214f6b5d5157782884f3325cb4e39713c454264) --- source3/Makefile.in | 4 ++-- source3/configure.in | 2 +- 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) -- cgit