summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEvan Shelhamer <shelhamer@imaginarynumber.net>2015-11-10 22:53:57 -0800
committerEvan Shelhamer <shelhamer@imaginarynumber.net>2015-11-10 22:53:57 -0800
commit19028e7975fa464ce6835d513a25111e6aedda47 (patch)
tree352cd1cb79571402042c7f0bceb9c3a2ec093e8e /Makefile
parent069c519ceb23db8582bdc392fda6fa7ffa97c0dc (diff)
parente98b84762fb55daed5092225f71c3b76015aa4a4 (diff)
downloadcaffe-19028e7975fa464ce6835d513a25111e6aedda47.tar.gz
caffe-19028e7975fa464ce6835d513a25111e6aedda47.tar.bz2
caffe-19028e7975fa464ce6835d513a25111e6aedda47.zip
Merge pull request #3127 from lukeyeager/install-lib-permissions
[build] Install libs as non-executable files
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f5dbf432..3dc76ae5 100644
--- a/Makefile
+++ b/Makefile
@@ -660,7 +660,7 @@ $(DISTRIBUTE_DIR): all py | $(DISTRIBUTE_SUBDIRS)
cp $(EXAMPLE_BINS) $(DISTRIBUTE_DIR)/bin
# add libraries
cp $(STATIC_NAME) $(DISTRIBUTE_DIR)/lib
- cp $(DYNAMIC_NAME) $(DISTRIBUTE_DIR)/lib
+ install -m 644 $(DYNAMIC_NAME) $(DISTRIBUTE_DIR)/lib
# add python - it's not the standard way, indeed...
cp -r python $(DISTRIBUTE_DIR)/python