[Libreoffice-commits] .: tools/Library_tl.mk

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Nov 7 10:18:35 PST 2012


 tools/Library_tl.mk |    8 ++++++++
 1 file changed, 8 insertions(+)

New commits:
commit 2f0b0e54f45cd9694d07d9e0399cd39bc465c09e
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date:   Wed Nov 7 18:44:48 2012 +0100

    Don't export zlib symbols
    
    Change-Id: Idd90a8ee15e275036f38d0b149ec4a599948e9ba

diff --git a/tools/Library_tl.mk b/tools/Library_tl.mk
index cd8afec..98ee848 100644
--- a/tools/Library_tl.mk
+++ b/tools/Library_tl.mk
@@ -106,6 +106,14 @@ $(eval $(call gb_Library_use_external,tl,zlib))
 
 ifeq ($(OS),WNT)
 
+ifeq ($(COM),GCC)
+
+$(eval $(call gb_Library_add_libs,tl,\
+    -Wl$(COMMA)--exclude-libs=libzlib.a \
+))
+
+endif
+
 $(eval $(call gb_Library_set_include,tl,\
     -I$(SRCDIR)/tools/win/inc \
     $$(INCLUDE) \


More information about the Libreoffice-commits mailing list