diff options
-rw-r--r-- | src/makefiles/Makefile.unixware | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/makefiles/Makefile.unixware b/src/makefiles/Makefile.unixware index 0a437c9b0c3..f394e619138 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 |