mirror of
https://github.com/postgres/postgres.git
synced 2026-03-09 09:40:40 -04:00
This is long obsolete. Discussion: https://www.postgresql.org/message-id/8eacdc0d-123f-dbca-bacf-0a68766a4889@2ndquadrant.com
13 lines
235 B
Makefile
13 lines
235 B
Makefile
AROPT = cr
|
|
|
|
export_dynamic = -Wl,-E
|
|
rpath = -Wl,-R'$(rpathdir)'
|
|
|
|
DLSUFFIX = .so
|
|
|
|
CFLAGS_SL = -fPIC -DPIC
|
|
|
|
|
|
# Rule for building a shared library from a single .o file
|
|
%.so: %.o
|
|
$(CC) $(CFLAGS) $< $(LDFLAGS) $(LDFLAGS_SL) -shared -o $@
|