Fix a compiler warning in initStringInfo().
[pgsql.git] / src / makefiles / Makefile.darwin
blob7095f66e25cb07d28f8c7b58b9e0cde857a79136
1 # env var name to use in place of LD_LIBRARY_PATH
2 ld_library_path_var = DYLD_LIBRARY_PATH
4 ifdef PGXS
5   BE_DLLLIBS = -bundle_loader $(bindir)/postgres
6 else
7   BE_DLLLIBS = -bundle_loader $(top_builddir)/src/backend/postgres
8 endif
10 # Rule for building a shared library from a single .o file
11 %$(DLSUFFIX): %.o
12         $(CC) $(CFLAGS) $< $(LDFLAGS) $(LDFLAGS_SL) -bundle $(BE_DLLLIBS) -o $@