diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-11-27 00:57:11 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-11-28 10:01:30 -0500 |
commit | 3f662c726d5fb53aa3374866dab1f8c8246ca804 (patch) | |
tree | fe81059c01867eaa71a3f64c5860f1f3322b1021 /sc/Library_scfilt.mk | |
parent | 337efa331a55623335b6e806b6be4af729d57320 (diff) |
Get it to build on Windows with liborcus gnumeric bits enabled.
Now scfilt must statically link zlib because gnumeric uses gzip
compression.
Change-Id: I79c527d381d3c2f9bccdf091ff2b0799efee4700
Diffstat (limited to 'sc/Library_scfilt.mk')
-rw-r--r-- | sc/Library_scfilt.mk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sc/Library_scfilt.mk b/sc/Library_scfilt.mk index 6403539f1fc0..58e6d144095f 100644 --- a/sc/Library_scfilt.mk +++ b/sc/Library_scfilt.mk @@ -65,6 +65,7 @@ $(eval $(call gb_Library_use_libraries,scfilt,\ )) $(eval $(call gb_Library_use_externals,scfilt,\ + zlib \ orcus \ )) @@ -222,4 +223,10 @@ $(eval $(call gb_Library_add_exception_objects,scfilt,\ sc/source/filter/orcus/orcusfiltersimpl \ )) +ifeq ($(SYSTEM_ZLIB),YES) +$(eval $(call gb_Library_add_defs,scfilt,\ + -DSYSTEM_ZLIB \ +)) +endif + # vim: set noet sw=4 ts=4: |