[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: contains a standard rpath '/usr/lib64'



On 6/18/05, Justin Conover <justin conover 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]