mirror of
https://github.com/postgres/postgres.git
synced 2026-04-23 15:19:08 -04:00
another section if required by the platform (instead of the old way of building them in section "l" and always transforming them to the platform-specific section). This speeds up the installation on common platforms, and it avoids some funny business with the man page tools and build process.
12 lines
164 B
Makefile
12 lines
164 B
Makefile
AROPT = cr
|
|
export_dynamic = -Wl,-Bexport
|
|
|
|
DLSUFFIX = .so
|
|
ifeq ($(GCC), yes)
|
|
CFLAGS_SL = -fpic
|
|
else
|
|
CFLAGS_SL = -K PIC
|
|
endif
|
|
|
|
%.so: %.o
|
|
$(LD) -G -Bdynamic -o $@ $<
|