mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
Shared library and GCC support for SCO OpenServer.
This commit is contained in:
@@ -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 $@ $<
|
||||
|
Reference in New Issue
Block a user