postgresql/src/makefiles/Makefile.darwin
Tom Lane fa8e42dff1 Add $(CFLAGS) to the simplified build rule for .so libraries on Darwin.
Arguably we should do this on *all* platforms, but for the moment Ill
2006-11-28 05:45:43 +00:00

19 lines
402 B
Makefile

AROPT = crs
AWK= awk
DLSUFFIX = .so
CFLAGS_SL =
ifdef PGXS
BE_DLLLIBS= -bundle_loader $(bindir)/postgres
else
BE_DLLLIBS= -bundle_loader $(top_builddir)/src/backend/postgres
endif
# Rule for building shared libs (currently used only for regression test
# shlib ... should go away, since this is not really enough knowledge)
%.so: %.o
$(CC) $(CFLAGS) -bundle -o $@ $< $(BE_DLLLIBS)
sqlmansect = 7