[Libreoffice-commits] .: Branch 'libreoffice-3-5' - connectivity/source
Lionel Elie Mamane
lmamane at kemper.freedesktop.org
Mon Dec 12 19:20:38 PST 2011
connectivity/source/drivers/postgresql/makefile.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 1ce79958fbaeb5fc58b0d4d525380133e4e9c1e5
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date: Tue Dec 13 04:20:30 2011 +0100
postgresql-sdbc: correctly recognise MacOS X build
diff --git a/connectivity/source/drivers/postgresql/makefile.mk b/connectivity/source/drivers/postgresql/makefile.mk
index 3f9bfb5..c99deae 100644
--- a/connectivity/source/drivers/postgresql/makefile.mk
+++ b/connectivity/source/drivers/postgresql/makefile.mk
@@ -91,13 +91,13 @@ LIBPQ_DEP_LIBS+=\
.ENDIF
.ELSE
LIBPQ_LINK=$(OUTDIR)/lib/libpq.a
-.IF "$(GUI)"=="MAC"
+.IF "$(OS)"=="MACOSX"
LIBPQ_DEP_LIBS += -Wl,-dead_strip_dylibs
.ELSE
LIBPQ_DEP_LIBS += -Wl,--as-needed
.ENDIF
.INCLUDE : $(OUTDIR_FOR_BUILD)/inc/postgresql/libpq-flags.mk
-.IF "$(GUI)"=="MAC"
+.IF "$(OS)"=="MACOSX"
.ELSE
LIBPQ_DEP_LIBS += -Wl,--no-as-needed
.ENDIF
More information about the Libreoffice-commits
mailing list