-Lxxxxx/lib64
Michael Schwendt
bugs.michael at gmx.net
Fri May 6 11:23:02 UTC 2005
On Fri, 06 May 2005 11:53:18 +0200, Hans de Goede wrote:
>
>
> Panu Matilainen wrote:
> > On Fri, 6 May 2005, Hans de Goede wrote:
> >
> >> Hi,
> >>
> >> In order to get Glide3 to build on x86_64 I need to add
> >> -L/usr/X11R6/lib64 to the CFLAGS. Now I know (think) that adding this
> >> for other archs is not a problem since those have xxx/lib64 it will
> >> effectivly do nothing.
> >>
> >> I wonder however what will happen if I add this and leave xxx/lib in
> >> the library-path on x86_64 and the i386 version of the library is also
> >> installed. Will the linker do the right thing, IOW will the linker
> >> only use x86_64 libs when linking an x86_64 app/lib?
> >
> >
> > If you're setting CFLAGS from the spec itself you can use
> > "CFLAGS=-L/usr/X11R6/%{_lib}" to get the path right.
> >
> > - Panu -
> >
>
> Nope I'm not (setting CFLAGS from the spec) what should I do in that case?
A possible solution: In your patch, use -L/usr/X11R6/_MULTILIB_ or
something unique and substitute it with sed -i in %prep.
More information about the fedora-extras-list
mailing list