diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2012-11-07 18:44:48 +0100 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2012-11-07 19:18:10 +0100 |
commit | 2f0b0e54f45cd9694d07d9e0399cd39bc465c09e (patch) | |
tree | 4f8f9169a40f80389672b5f7ea0d58025957c969 /tools | |
parent | eed17d1f23bbefd5aae24cb7e75ecb37c8f28b4a (diff) |
Don't export zlib symbols
Change-Id: Idd90a8ee15e275036f38d0b149ec4a599948e9ba
Diffstat (limited to 'tools')
-rw-r--r-- | tools/Library_tl.mk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/Library_tl.mk b/tools/Library_tl.mk index cd8afecf5b73..98ee8481a2c6 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) \ |