mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-02 18:11:18 +02:00
e9f546365f
> > -patches as well. > > The -Bdynamic probably ought to disappear. That was there already, but I have no objections. I was trying to make minimal changes. Larry Rosenman
29 lines
405 B
Makefile
29 lines
405 B
Makefile
AROPT = crs
|
|
export_dynamic = -Wl,-Bexport
|
|
ifeq ($(ld_R_works), yes)
|
|
rpath = -Wl,-R$(libdir)
|
|
endif
|
|
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
|
|
ifeq ($(GCC), yes)
|
|
SO_FLAGS = -shared
|
|
else
|
|
SO_FLAGS = -G
|
|
endif
|
|
|
|
%.so: %.o
|
|
$(CC) $(SO_FLAGS) -o $@ $<
|
|
|
|
sqlmansect = 5sql
|