[PATCH] uml: fix dynamic linking on some 64-bit distros
authorRob Landley <rob@landley.net>
Sun, 18 Dec 2005 16:50:35 +0000 (17:50 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 18 Dec 2005 19:19:44 +0000 (11:19 -0800)
commit53c0b59dcdb7c68c3cfd4b9a0bd17373b785f2eb
treec7f38309bbfc57353df29821b7d7bd41cc69a44d
parent9ce7677cfd7cd871adb457c80bea3b581b839641
[PATCH] uml: fix dynamic linking on some 64-bit distros

With Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>

The current UML build assumes that on x86-64 systems, /lib is a symlink
to /lib64, but in some distributions (like PLD and CentOS) they are
separate directories, so the 64 bit library loader isn't found.  This
patch inserts /lib64 at the start of the rpath on x86-64 UML builds.

Signed-off-by: Rob Landley <rob@landley.net>
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/Makefile-x86_64