summaryrefslogtreecommitdiff
path: root/external/libodfgen/Module_libodfgen.mk
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2014-05-24 09:13:33 +0200
committerDavid Tardon <dtardon@redhat.com>2014-05-25 12:48:09 +0200
commit36c3f914261f921a62500c2a80da89489748a6fc (patch)
treedf9f9bfe30dd80e1e76fb873db18f30e09d85186 /external/libodfgen/Module_libodfgen.mk
parent74042bc601fdf3faf25541fb4959d061bbf6abd1 (diff)
build libodfgen as shared lib
Change-Id: I3a2c9f56e87ee6395bd3505a8fe372632e242312
Diffstat (limited to 'external/libodfgen/Module_libodfgen.mk')
-rw-r--r--external/libodfgen/Module_libodfgen.mk16
1 files changed, 15 insertions, 1 deletions
diff --git a/external/libodfgen/Module_libodfgen.mk b/external/libodfgen/Module_libodfgen.mk
index d94d34f7c596..c107274023fa 100644
--- a/external/libodfgen/Module_libodfgen.mk
+++ b/external/libodfgen/Module_libodfgen.mk
@@ -10,8 +10,22 @@
$(eval $(call gb_Module_Module,libodfgen))
$(eval $(call gb_Module_add_targets,libodfgen,\
- ExternalProject_libodfgen \
UnpackedTarball_libodfgen \
))
+ifeq ($(COM),MSC)
+
+$(eval $(call gb_Module_add_targets,libodfgen,\
+ Library_odfgen \
+))
+
+else
+
+$(eval $(call gb_Module_add_targets,libodfgen,\
+ ExternalPackage_libodfgen \
+ ExternalProject_libodfgen \
+))
+
+endif
+
# vim: set noet sw=4 ts=4: