diff options
author | Roy Marples <roy@marples.name> | 2007-12-27 16:52:35 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-12-27 16:52:35 +0000 |
commit | 4b6a27fdf9df85363b46ad09d273e369bd6e18c1 (patch) | |
tree | 21c8554fdc53bdf623394ff00311346dc2b610b7 | |
parent | 3f079ce495ece183e6ab48167e05ba99678474a3 (diff) |
Don't allow RPATH of . to escape to a tarball.
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -27,6 +27,8 @@ dist: (cd /tmp/$(PKG); git clean; $(MAKE) clean) rm -rf /tmp/$(PKG)/*.bz2 /tmp/$(PKG)/.git /tmp/$(PKG)/test rm -rf /tmp/$(PKG)/.gitignore /tmp/$(PKG)/src/.gitignore + sed -i.bak -e '/LDFLAGS += -Wl,-rpath ./ s/^/#/' /tmp/$(PKG)/src/Makefile + rm -f /tmp/$(PKG)/src/Makefile.bak tar cvjpf $(PKG).tar.bz2 -C /tmp $(PKG) rm -rf /tmp/$(PKG) ls -l $(PKG).tar.bz2 |