[ruby-core:79989] [Ruby trunk Misc#13296] building ruby for windows always puts the version number into the ruby library, resulting in redundancy when using --with-soname

From: ntzrmtthihu777@...
Date: 2017-03-10 02:03:04 UTC
List: ruby-core #79989
Issue #13296 has been updated by Marty Plummer.


Nobuyoshi Nakada wrote:
> Marty Plummer wrote:
> > Building ruby for windows/mingw using gentoo's crossdev tool uses the exact same ebuild, and the --with-soname argument cannot
> > be removed from the mingw build without removing it from the native build.
> 
> It's an ebuild's issue.

It is not. Its a windows stupidity issue, which has to be worked around. Simply drop the version from the library name and packagers/builders can decide for themselves what is best to be done with it.

----------------------------------------
Misc #13296: building ruby for windows always puts the version number into the ruby library, resulting in redundancy when using --with-soname
https://bugs.ruby-lang.org/issues/13296#change-63410

* Author: Marty Plummer
* Status: Rejected
* Priority: Normal
* Assignee: 
----------------------------------------
Under gentoo the dev-lang/ruby-2.4.0.ebuild explicitly sets --program-suffix
and --with-soname in order to facilitate multiple ruby version installations
at the same time.

Using crossdev for the x86_64-w64-mingw32 target, ruby's build system will
set the final ruby libraries name to something like x64-msvcrt-${soname}${ver}
which results in a final name of libx64-msvcrt-ruby24240.dll.a and so on.



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next