diff options
| author | Peter Eisentraut <peter_e@gmx.net> | 2001-05-07 20:43:28 +0000 |
|---|---|---|
| committer | Peter Eisentraut <peter_e@gmx.net> | 2001-05-07 20:43:28 +0000 |
| commit | f7bfb5518d9851b99f8982e94ea833da8317c412 (patch) | |
| tree | 284afd9cedeae213ba321f30c8f536f2efc1d143 /src/makefiles/Makefile.sco | |
| parent | 5fdae774a1e33826a76377b481b999bd7d6d637d (diff) | |
| download | postgresql-f7bfb5518d9851b99f8982e94ea833da8317c412.tar.gz | |
Shared library and GCC support for SCO OpenServer.
Diffstat (limited to 'src/makefiles/Makefile.sco')
| -rw-r--r-- | src/makefiles/Makefile.sco | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/makefiles/Makefile.sco b/src/makefiles/Makefile.sco index 810f75947e..a2fedb22f0 100644 --- a/src/makefiles/Makefile.sco +++ b/src/makefiles/Makefile.sco @@ -1,9 +1,18 @@ -override CFLAGS += -dy -export_dynamic = -W l,-Bexport AROPT = cr +export_dynamic = -Wl,-Bexport +shlib_symbolic = -Wl,-Bsymbolic DLSUFFIX = .so +ifeq ($(GCC), yes) +CFLAGS_SL = -fpic +else CFLAGS_SL = -K PIC +endif +ifeq ($(GXX), yes) +CXXFLAGS_SL = -fpic +else +CXXFLAGS_SL = -K PIC +endif %.so: %.o $(LD) -G -Bdynamic -o $@ $< |
