-Lxxxxx/lib64
Panu Matilainen
pmatilai at welho.com
Fri May 6 09:47:37 UTC 2005
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 -
More information about the fedora-extras-list
mailing list