]> git.pld-linux.org Git - packages/ruby.git/commitdiff
disable rpath
authorElan Ruusamäe <glen@delfi.ee>
Mon, 24 Apr 2017 19:37:01 +0000 (22:37 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 24 Apr 2017 20:00:01 +0000 (23:00 +0300)
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

index 83f9a76f54505e73e963ea47e6051e47ff7fec5b..13f032ffccc50f5182918b56e329c6eed335595b 100644 (file)
--- a/ruby.spec
+++ b/ruby.spec
 %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='' \
 
This page took 0.107499 seconds and 4 git commands to generate.