summaryrefslogtreecommitdiff
path: root/libcdr/ExternalProject_libcdr.mk
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-10-05 17:48:45 +0200
committerMichael Stahl <mstahl@redhat.com>2012-10-05 17:48:45 +0200
commit1a9740671cfe0f324135276fe42bd18f29dcda7d (patch)
treea2fce290b6522bf1a5763894525c18e83089df09 /libcdr/ExternalProject_libcdr.mk
parentff12d3033b9284a779ea32f7cbf20d840b1995f2 (diff)
libcdr: hopefully get this to build
unfortunately the ExternalProject uses a StaticLibrary built in libwpg. Change-Id: Ie4a8933247edbd2d53f697432a0848a05216237f
Diffstat (limited to 'libcdr/ExternalProject_libcdr.mk')
-rw-r--r--libcdr/ExternalProject_libcdr.mk12
1 files changed, 7 insertions, 5 deletions
diff --git a/libcdr/ExternalProject_libcdr.mk b/libcdr/ExternalProject_libcdr.mk
index de48baed3a8f..719b75295fcd 100644
--- a/libcdr/ExternalProject_libcdr.mk
+++ b/libcdr/ExternalProject_libcdr.mk
@@ -16,11 +16,8 @@ $(eval $(call gb_ExternalProject_register_targets,libcdr,\
))
$(eval $(call gb_ExternalProject_use_externals,cdrlib,\
- lcms2 \
- wpd \
- wpg \
- zlib \
-))
+ libwpd \
+))
ifeq ($(OS)$(COM),WNTMSC)
@@ -48,6 +45,8 @@ else # !SYSTEM_LIBWPD
libcdr_cflags += -I$(OUTDIR)/inc/external
libcdr_libs += $(SOLARLIB)
+$(eval $(call gb_ExternalProject_use_package,libwpd))
+
endif # SYSTEM_LIBWPD
@@ -61,6 +60,9 @@ else # !SYSTEM_LIBWPG
libcdr_cflags += -I$(OUTDIR)/inc/external
libcdr_libs += $(SOLARLIB)
+$(eval $(call gb_ExternalProject_use_package,libwpg_inc))
+$(eval $(call gb_ExternalProject_use_static_libraries,wpglib))
+
endif # SYSTEM_LIBWPG