Skip to content

Commit

Permalink
Install libs as non-executable files
Browse files Browse the repository at this point in the history
According to the Debian policy manual, "Shared libraries should not be
installed executable, since the dynamic linker does not require this and
trying to execute a shared library usually results in a core dump."

https://www.debian.org/doc/debian-policy/ch-sharedlibs.html#s-sharedlibs-runtime
  • Loading branch information
lukeyeager committed Sep 28, 2015
1 parent ff16f6e commit e98b847
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,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

Expand Down

0 comments on commit e98b847

Please sign in to comment.