Kaydet (Commit) d0857f0e authored tarafından Michael Stahl's avatar Michael Stahl

odk: fix packaging of WNT import libraries

(regression from 613221bd)

Change-Id: I32775c27e7d17bfc78562f231a4061630c5b7f1a
üst 164cf383
...@@ -10,9 +10,10 @@ ...@@ -10,9 +10,10 @@
$(eval $(call gb_CustomTarget_CustomTarget,odk/odkcommon/lib)) $(eval $(call gb_CustomTarget_CustomTarget,odk/odkcommon/lib))
define odk_lib define odk_lib
odkcommon_ZIPLIST += lib/$(1) odkcommon_ZIPLIST += lib/$(notdir $(1))
$(call gb_CustomTarget_get_target,odk/odkcommon/lib): $(odk_WORKDIR)/lib/$(1) $(call gb_CustomTarget_get_target,odk/odkcommon/lib) : \
$(odk_WORKDIR)/lib/$(1): $(call gb_Library_get_target,$(1)) $(odk_WORKDIR)/lib/$(notdir $(1))
$(odk_WORKDIR)/lib/$(notdir $(1)) : $(1)
mkdir -p $$(dir $$@) mkdir -p $$(dir $$@)
$$(call gb_Output_announce,$$(subst $$(WORKDIR)/,,$$@),build,CPY,1) $$(call gb_Output_announce,$$(subst $$(WORKDIR)/,,$$@),build,CPY,1)
cp $$< $$@ cp $$< $$@
...@@ -27,7 +28,7 @@ odk_LIBLIST := store \ ...@@ -27,7 +28,7 @@ odk_LIBLIST := store \
cppuhelper \ cppuhelper \
purpenvhelper purpenvhelper
$(foreach lib,$(odk_LIBLIST),$(eval $(call odk_lib,$(lib)))) $(foreach lib,$(odk_LIBLIST),$(eval $(call odk_lib,$(call gb_Library_get_target,$(lib)))))
else ifeq ($(OS),LINUX) else ifeq ($(OS),LINUX)
odkcommon_ZIPLIST += lib/libsalcpprt.a odkcommon_ZIPLIST += lib/libsalcpprt.a
$(eval $(call gb_CustomTarget_register_target,odk/odkcommon/lib,libsalcpprt.a)) $(eval $(call gb_CustomTarget_register_target,odk/odkcommon/lib,libsalcpprt.a))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment