ruby-1.9.pc; strange/harmful entry
Steve Wills
swills at FreeBSD.org
Mon Feb 11 15:01:06 UTC 2013
>
>From a quick look at configure.in I see that there is a special case for
freebsd| dragonflybsd:
>
> [freebsd*|dragonfly*], [
> ...
> DLDFLAGS="$DLDFLAGS "'-Wl,-soname,$(.TARGET)'
>
> I think that this assignment should be removed. That's the only
> occurrence of
> -Wl,-soname in DLDFLAGS in the whole script.
>
> Possibly we should do instead what is done for netbsd elsewhere in the
> script:
> [netbsd*], [
> ...
> LIBRUBY_DLDFLAGS='-Wl,-soname,lib$(RUBY_SO_NAME).so.$(MAJOR)$(MINOR)'
>
> In freebsd/dragonfly block (preceding the netbsd one) this could be
> written more
> compactly as:
> LIBRUBY_DLDFLAGS='-Wl,-soname,$(LIBRUBY_SO)'
>
Yep, I had wondered about that, but was initially hesitant to touch
configure.in. Thanks for taking a look. Try the attached patch, also
available here:
http://meatwad.mouf.net/~swills/ruby_pc.diff2.txt
This is build tested, but nothing else. I'll try to do some more testing.
Steve
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ruby_pc.diff2.txt
URL: <http://lists.freebsd.org/pipermail/freebsd-ruby/attachments/20130211/364425fd/attachment.txt>
More information about the freebsd-ruby
mailing list