[ruby-core:79996] [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 08:50:14 UTC
List: ruby-core #79996
Issue #13296 has been updated by Marty Plummer.


Nobuyoshi Nakada wrote:
> Marty Plummer wrote:
> > I see you're still hardcoding ${MAJOR}${MINOR}0 into it. Still, this works well enough I suppose.
> 
> It's the fallback.

Well it doesn't appear to be falling back. Still get the name libx64-msvcrt-ruby240.dll/etc and not the 'ruby24' getting passed to --with-soname

----------------------------------------
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-63417

* Author: Marty Plummer
* Status: Closed
* 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