diff options
author | Bruce Momjian <bruce@momjian.us> | 2001-09-06 03:15:43 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2001-09-06 03:15:43 +0000 |
commit | 56b102a96e38f9efb53137ea322209b7a57a4bfe (patch) | |
tree | e72566db1c0dd24a0b13cc366628e440d953e868 | |
parent | e30b283f30c39648abc17e14b709ad93f53aac95 (diff) | |
download | postgresql-56b102a96e38f9efb53137ea322209b7a57a4bfe.tar.gz postgresql-56b102a96e38f9efb53137ea322209b7a57a4bfe.zip |
This fixes the regression test .so builds on sysv5 systems:
I believe this will fix peter_e's problen with gcc.
Larry Rosenman
-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 |