contains a standard rpath '/usr/lib64'

Justin Conover justin.conover at gmail.com
Sat Jun 18 18:14:27 UTC 2005


On 6/18/05, Justin Conover <justin.conover at gmail.com> wrote:
> If a spec file bombs out with this:
> 
> contains a standard rpath '/usr/lib64'
> 
> What can be done to fix that in the spec?
> 
Is this basically it?  Seemed to work on the package anyway.

%ifarch x86_64
# fix hardcoded rpath im Makefiles on x86_64 due to freetype-config --libs
# returning "-L/usr/lib64 -Wl,--rpath -Wl,/usr/lib64 -lfreetype -lz":
%{__perl} -pi.orig -e 's|-Wl,--rpath -Wl,/usr/lib64||g;' \
  Makefile */Makefile */*/Makefile imlib2-config
%endif

make %{?_smp_mflags} LIBTOOL=/usr/bin/libtool




More information about the fedora-extras-list mailing list