ruby-1.9.pc; strange/harmful entry

Andriy Gapon avg at FreeBSD.org
Mon Feb 4 15:41:23 UTC 2013


$ pkgconf --libs ruby-1.9
-Wl,-soname,(.TARGET) -Wl,-R -Wl,/usr/local/lib -lruby19 -lexecinfo -lpthread
-lcrypt -lm -L/usr/local/lib  -Wl,-rpath=/usr/local/lib -pthread

I am not sure if '(.TARGET)' is supposed to be expanded.  But I think that
-Wl,-soname should really have no place in pkgconf data.
As it is now, the entry causes confusion (e.g. for a shell) when the above line is
included verbatim into some compilation/link command like.

-- 
Andriy Gapon


More information about the freebsd-ruby mailing list