summaryrefslogtreecommitdiff
path: root/solenv/gbuild/Library.mk
diff options
context:
space:
mode:
authorBjoern Michaelsen <b_michaelsen@openoffice.org>2010-11-04 13:56:11 +0100
committerBjoern Michaelsen <b_michaelsen@openoffice.org>2010-11-04 13:56:11 +0100
commit51d78f014a75d3c549360469b1277386a0e951d9 (patch)
treeeef7618cb89beb99b3fd0ba48708bfd2ab21fe23 /solenv/gbuild/Library.mk
parentefc073db760dfafd5fbc0bef4aa17785657f505c (diff)
gnumake2: not preserving permission on deliver for now
Diffstat (limited to 'solenv/gbuild/Library.mk')
-rwxr-xr-xsolenv/gbuild/Library.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/solenv/gbuild/Library.mk b/solenv/gbuild/Library.mk
index 219b94bf50a7..f49d0fcaf66b 100755
--- a/solenv/gbuild/Library.mk
+++ b/solenv/gbuild/Library.mk
@@ -48,10 +48,11 @@ $(WORKDIR)/Clean/OutDir/lib/%$(gb_Library_PLAINEXT) : $(call gb_LinkTarget_get_c
$(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_Library_OUTDIRLOCATION)/%$(gb_Library_PLAINEXT) :
$(call gb_Helper_abbreviate_dirs,\
- mkdir -p $(dir $@) && cp -pf $< $@ \
- $(foreach target,$(AUXTARGETS), && cp -pf $(dir $<)/$(notdir $(target)) $(target)))
+ mkdir -p $(dir $@) && cp -f $< $@ \
+ $(foreach target,$(AUXTARGETS), && cp -f $(dir $<)/$(notdir $(target)) $(target)))
define gb_Library_Library
ifeq (,$$(findstring $(1),$$(gb_Library_KNOWNLIBS)))