diff options
author | Bjoern Michaelsen <b_michaelsen@openoffice.org> | 2010-11-09 16:39:25 +0100 |
---|---|---|
committer | Bjoern Michaelsen <b_michaelsen@openoffice.org> | 2010-11-09 16:39:25 +0100 |
commit | 5b3a1cd6ec7357feb928204e3b99d7c7f5d2030b (patch) | |
tree | 7a838eb046b488264fcf174452d15e1b1697c2c7 /solenv/gbuild/StaticLibrary.mk | |
parent | 4ef90d2eba995fb7ab42c55055ff05a3c430653d (diff) |
gnumake2: towards a shadow solver (intermediate commit)
Diffstat (limited to 'solenv/gbuild/StaticLibrary.mk')
-rwxr-xr-x | solenv/gbuild/StaticLibrary.mk | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/solenv/gbuild/StaticLibrary.mk b/solenv/gbuild/StaticLibrary.mk index 85c9427eccbb..cb3e12bcd76d 100755 --- a/solenv/gbuild/StaticLibrary.mk +++ b/solenv/gbuild/StaticLibrary.mk @@ -45,11 +45,10 @@ $(WORKDIR)/Clean/OutDir/lib/%$(gb_StaticLibrary_PLAINEXT) : $(call gb_LinkTarget $(AUXTARGETS)) # EVIL: gb_StaticLibrary and gb_Library need the same deliver rule because they are indistinguishable on windows -# FIXME: this should be cp -pf but that might break on some nfs setups $(gb_StaticLibrary_OUTDIRLOCATION)/%$(gb_StaticLibrary_PLAINEXT) : $(call gb_Helper_abbreviate_dirs,\ - mkdir -p $(dir $@) && cp -f $< $@ \ - $(foreach target,$(AUXTARGETS), && cp -f $(dir $<)/$(notdir $(target)) $(target))) + mkdir -p $(dir $@) && $(call gb_Shadow_copy,$@,$<) \ + $(foreach target,$(AUXTARGETS), && $(call gb_Shadow_copy,$(target),$(dir $<)/$(notdir $(target))))) define gb_StaticLibrary_StaticLibrary ifeq (,$$(findstring $(1),$$(gb_StaticLibrary_KNOWNLIBS))) |