Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Feb 2013 17:41:20 +0200
From:      Andriy Gapon <avg@FreeBSD.org>
To:        ruby@FreeBSD.org
Subject:   ruby-1.9.pc; strange/harmful entry
Message-ID:  <510FD6A0.2010303@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
$ 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?510FD6A0.2010303>