From: Bruce Momjian Date: Thu, 6 Sep 2001 03:15:43 +0000 (+0000) Subject: This fixes the regression test .so builds on sysv5 systems: X-Git-Tag: REL7_2_BETA1~541 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=56b102a96e38f9efb53137ea322209b7a57a4bfe;p=postgresql This fixes the regression test .so builds on sysv5 systems: I believe this will fix peter_e's problen with gcc. Larry Rosenman --- diff --git a/src/makefiles/Makefile.unixware b/src/makefiles/Makefile.unixware index 0a437c9b0c..f394e61913 100644 --- a/src/makefiles/Makefile.unixware +++ b/src/makefiles/Makefile.unixware @@ -16,8 +16,13 @@ CXXFLAGS_SL = -fpic else CXXFLAGS_SL = -K PIC endif +ifeq ($(GCC), yes) +SO_FLAGS = -shared +else +SO_FLAGS = -G +endif %.so: %.o - $(LD) -G -Bdynamic -o $@ $< + $(CC) $(SO_FLAGS) -Bdynamic -o $@ $< sqlmansect = 5sql