subversion/subversion.perl.LD_RUN_PATH.patch

19 lines
822 B
Diff
Raw Normal View History

clear LD_RUN_PATH, it will end up as RPATH in ELF binaries
Makefile.in | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: subversion-1.3.x/Makefile.in
===================================================================
--- subversion-1.3.x.orig/Makefile.in
+++ subversion-1.3.x/Makefile.in
@@ -622,7 +622,7 @@ $(SWIG_PL_DIR)/native/Makefile.PL: $(SWI
./config.status subversion/bindings/swig/perl/native/Makefile.PL
$(SWIG_PL_DIR)/native/Makefile: $(SWIG_PL_DIR)/native/Makefile.PL $(swig-pl_native_Makefile_DEPS)
- cd $(SWIG_PL_DIR)/native; $(PERL) Makefile.PL
+ cd $(SWIG_PL_DIR)/native; $(PERL) Makefile.PL ; for i in `grep -wl ^LD_RUN_PATH Makefile Makefile.[^P]*` ; do sed -i 's@^LD_RUN_PATH.*@LD_RUN_PATH=@' $$i ; done
swig-pl_DEPS = $(SWIG_PL_DIR)/native/Makefile
swig-pl: $(swig-pl_DEPS)