summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2011-12-15 15:36:30 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2011-12-15 15:36:30 +0100
commit968dee3f4e392753d1663d8a5fc2f73e696003e1 (patch)
treeb7913294c10174f0de70cec6d9e4f12af64ed373 /connectivity
parentc3add9d8919a8d10a695cb69c513d94aa1a8f757 (diff)
-Wl,-dead_strip_dylibs is not supported with XCode 2.5, align with master
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/postgresql/makefile.mk11
1 files changed, 2 insertions, 9 deletions
diff --git a/connectivity/source/drivers/postgresql/makefile.mk b/connectivity/source/drivers/postgresql/makefile.mk
index c99deaec7ea1..cc6a4df2d485 100644
--- a/connectivity/source/drivers/postgresql/makefile.mk
+++ b/connectivity/source/drivers/postgresql/makefile.mk
@@ -91,16 +91,9 @@ LIBPQ_DEP_LIBS+=\
.ENDIF
.ELSE
LIBPQ_LINK=$(OUTDIR)/lib/libpq.a
-.IF "$(OS)"=="MACOSX"
-LIBPQ_DEP_LIBS += -Wl,-dead_strip_dylibs
-.ELSE
-LIBPQ_DEP_LIBS += -Wl,--as-needed
-.ENDIF
+LIBPQ_DEP_LIBS+=$(eq,$(OS),MACOSX $(NULL) -Wl,--as-needed)
.INCLUDE : $(OUTDIR_FOR_BUILD)/inc/postgresql/libpq-flags.mk
-.IF "$(OS)"=="MACOSX"
-.ELSE
-LIBPQ_DEP_LIBS += -Wl,--no-as-needed
-.ENDIF
+LIBPQ_DEP_LIBS+=$(eq,$(OS),MACOSX $(NULL) -Wl,--no-as-needed)
.ENDIF
POSTGRESQL_INC=-I$(OUTDIR)/inc/postgresql
POSTGRESQL_LIB=