forked from pool/libguestfs
split perl patch libguestfs-1.19.30.patch into
libguestfs.perl.install_vendor.patch and libguestfs.perl.no-rpath.patch Both are needed in upcoming versions OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=21
This commit is contained in:
19
libguestfs.perl.no-rpath.patch
Normal file
19
libguestfs.perl.no-rpath.patch
Normal file
@@ -0,0 +1,19 @@
|
||||
[ 193s] ERROR: RPATH "/home/abuild/rpmbuild/BUILD/libguestfs-1.19.30/src/.libs" on /home/abuild/rpmbuild/BUILDROOT/libguestfs-1.19.30-1.x86_64/usr/lib/perl5/site_perl/5.16.0/x86_64-linux-thread-multi/auto/Sys/Guestfs/Guestfs.so is not allowed
|
||||
[ 193s] ERROR: RPATH "/home/abuild/rpmbuild/BUILD/libguestfs-1.19.30/src/.libs" on /home/abuild/rpmbuild/BUILDROOT/libguestfs-1.19.30-1.x86_64/usr/lib/perl5/site_perl/5.16.0/x86_64-linux-thread-multi/auto/Sys/Guestfs/Guestfs.so is not allowed
|
||||
---
|
||||
perl/Makefile.am | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
Index: b/perl/Makefile.am
|
||||
===================================================================
|
||||
--- a/perl/Makefile.am
|
||||
+++ b/perl/Makefile.am
|
||||
@@ -65,6 +65,8 @@ all: Makefile-pl src_deps
|
||||
|
||||
Makefile-pl: Makefile.PL
|
||||
perl Makefile.PL INSTALLDIRS=$(INSTALLDIRS) PREFIX=$(prefix)
|
||||
+ @set -x ; \
|
||||
+ for i in `grep -wl ^LD_RUN_PATH Makefile*` ; do sed -i~ 's@^LD_RUN_PATH.*@LD_RUN_PATH=@' $$i ; done
|
||||
|
||||
# No! Otherwise it is deleted before the clean-local rule runs.
|
||||
#CLEANFILES = Makefile-pl
|
Reference in New Issue
Block a user