From: "vo.x (Vit Ondruch) via ruby-core" Date: 2023-01-06T14:33:34+00:00 Subject: [ruby-core:111692] [Ruby master Bug#8973] Allow to configure archlibdir for multiarch Issue #8973 has been updated by vo.x (Vit Ondruch). Actually, the real intention here is to get rid of the `${arch}` from the paths. The thing is that `--enable-multiarch` used to make it possible, because this is the implementation: ~~~ rubyarchprefix=${multiarch+'${archlibdir}/${RUBY_BASE_NAME}'}${multiarch-'${rubylibprefix}/${arch}'} ~~~ As you can see, when `multiarch` is not defined, then the `${arch}` is mandatory. With `multiarch` enabled, it is enough to modify the `${archlibdir}` and whatever is the is there. It does not impose any expectations. BTW out of curiosity, assuming that upstream expect that Ruby is installed via `./configure && make && make install`, what is the reason to bother with `${arch}` for non multiarch configurations? Does anybody really use single installation directory with multiple architectures? ---------------------------------------- Bug #8973: Allow to configure archlibdir for multiarch https://bugs.ruby-lang.org/issues/8973#change-101092 * Author: vo.x (Vit Ondruch) * Status: Feedback * Priority: Normal * Assignee: nobu (Nobuyoshi Nakada) * ruby -v: ruby 2.1.0dev (2013-09-22 trunk 43011) [x86_64-linux] ---------------------------------------- Since r39347, there is impossible to configure placement of rubylib.so when build is configured with "--with-multiarch". That is probably OK for Debian, but it breaks Fedora :/ The attached patch allows to configure the archlibdir, but I feel that it is suboptimal, since the "--with-rubyarchprefix" should probably be the parameter which influences placement of the arch specific libraries. Any chance that this patch is accepted or better if rubyarchprefix is respected for every arch specific library, including libruby.so. Thanks. ---Files-------------------------------- ruby-2.1.0-Enable-configuration-of-archlibdir.patch (479 Bytes) -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/