[Libreoffice-commits] .: connectivity/source cppuhelper/test lingucomponent/source
Christian Lohmaier
cloph at kemper.freedesktop.org
Mon Dec 12 16:59:27 PST 2011
connectivity/source/drivers/postgresql/makefile.mk | 11 ++---------
cppuhelper/test/bootstrap/makefile.mk | 2 +-
lingucomponent/source/languageguessing/makefile.mk | 6 +++---
3 files changed, 6 insertions(+), 13 deletions(-)
New commits:
commit 89b4260fc9ddc39ebc36ea44723f101aabf1d043
Author: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
Date: Tue Dec 13 01:59:12 2011 +0100
GUI is also UNX for Mac, to check for Mac use either OSâMACOSX or GUIBASEâaqua
diff --git a/connectivity/source/drivers/postgresql/makefile.mk b/connectivity/source/drivers/postgresql/makefile.mk
index 3f9bfb5..1fd0481 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 "$(GUI)"=="MAC"
-LIBPQ_DEP_LIBS += -Wl,-dead_strip_dylibs
-.ELSE
-LIBPQ_DEP_LIBS += -Wl,--as-needed
-.ENDIF
+LIBPQ_DEP_LIBS+=$(eq,$(OS),MACOSX -Wl,-dead_strip_dylibs -Wl,--as-needed)
.INCLUDE : $(OUTDIR_FOR_BUILD)/inc/postgresql/libpq-flags.mk
-.IF "$(GUI)"=="MAC"
-.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=
diff --git a/cppuhelper/test/bootstrap/makefile.mk b/cppuhelper/test/bootstrap/makefile.mk
index 86665df..d1caeba 100644
--- a/cppuhelper/test/bootstrap/makefile.mk
+++ b/cppuhelper/test/bootstrap/makefile.mk
@@ -37,7 +37,7 @@ USE_DEFFILE := TRUE
.INCLUDE : settings.mk
-.IF "$(GUI)"=="UNX" || "$(GUI)"=="MAC"
+.IF "$(GUI)"=="UNX"
PURPENVHELPERLIB := -luno_purpenvhelper$(COMID)
.ELSE
diff --git a/lingucomponent/source/languageguessing/makefile.mk b/lingucomponent/source/languageguessing/makefile.mk
index 5fe1945..65036db 100644
--- a/lingucomponent/source/languageguessing/makefile.mk
+++ b/lingucomponent/source/languageguessing/makefile.mk
@@ -39,19 +39,19 @@ VISIBILITY_HIDDEN=TRUE
# --- Files --------------------------------------------------------
-.IF "$(GUI)"=="UNX" || "$(GUI)"=="MAC"
+.IF "$(GUI)"=="UNX"
.IF "$(SYSTEM_LIBEXTTEXTCAT)" == "YES"
LIBTEXTCATLIB=$(LIBEXTTEXTCAT_LIBS)
.ELSE
LIBTEXTCATLIB=-lexttextcat
.ENDIF
-.ELSE # "$(GUI)"=="UNX" || "$(GUI)"=="MAC"
+.ELSE # "$(GUI)"=="UNX"
.IF "$(COM)"=="GCC"
LIBTEXTCATLIB=-lilibexttextcat
.ELSE
LIBTEXTCATLIB=ilibexttextcat.lib
.ENDIF
-.ENDIF # "$(GUI)"=="UNX" || "$(GUI)"=="MAC"
+.ENDIF # "$(GUI)"=="UNX"
SLOFILES = \
$(SLO)$/altstrfunc.obj \
More information about the Libreoffice-commits
mailing list