[packages/ruby/dev-2.3] disable rpath
glen
glen at pld-linux.org
Mon Apr 24 22:41:44 CEST 2017
commit cb08a5f5b90d2d9bf2b5316ee0d073170300ba03
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Apr 24 22:37:01 2017 +0300
disable rpath
enc.mk passes rpath value empty which causes random next arg to be used
as rpath value
http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2017-April/025348.html
ruby.spec | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
---
diff --git a/ruby.spec b/ruby.spec
index 83f9a76..13f032f 100644
--- a/ruby.spec
+++ b/ruby.spec
@@ -11,13 +11,6 @@
%bcond_with bootstrap # build bootstrap version
%bcond_with tests # build without tests
-# prevent some weird build error:
-# readlink: unrecognized option '--library=pthread'
-# caused by:
-# $ chrpath -l /home/users/glen/tmp/ruby-2.3.3-root-glen/usr/lib64/ruby/2.3/enc/encdb.so
-# /home/users/glen/tmp/ruby-2.3.3-root-glen/usr/lib64/ruby/2.3/enc/encdb.so: RPATH=--library=pthread
-%define debug 1
-
%define rel 0.1
%define ruby_version 2.3
%define basever 2.3
@@ -591,6 +584,7 @@ cd ..
--enable-multiarch \
--enable-shared \
--disable-install-doc \
+ --disable-rpath \
--disable-rubygems \
--with-ruby-version='' \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ruby.git/commitdiff/a7469680a5515a1e291afde1de98d035d00068d5
More information about the pld-cvs-commit
mailing list