From 56b102a96e38f9efb53137ea322209b7a57a4bfe Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Thu, 6 Sep 2001 03:15:43 +0000 Subject: [PATCH] This fixes the regression test .so builds on sysv5 systems: I believe this will fix peter_e's problen with gcc. Larry Rosenman --- src/makefiles/Makefile.unixware | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- 2.40.0