]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/um/Makefile-x86_64
[PATCH] uml: clean up after MADVISE_REMOVE
[linux-2.6-omap-h63xx.git] / arch / um / Makefile-x86_64
index 4f118d5cc2ee177c381b3b3d2522071f76025498..dfd88b652fbe5ee638e81ffee241de18e4a6a90e 100644 (file)
@@ -1,7 +1,7 @@
 # Copyright 2003 - 2004 Pathscale, Inc
 # Released under the GPL
 
-libs-y += arch/um/sys-x86_64/
+core-y += arch/um/sys-x86_64/
 START := 0x60000000
 
 #We #undef __x86_64__ for kernelspace, not for userspace where
@@ -12,3 +12,7 @@ CHECKFLAGS  += -m64
 
 ELF_ARCH := i386:x86-64
 ELF_FORMAT := elf64-x86-64
+
+# Not on all 64-bit distros /lib is a symlink to /lib64. PLD is an example.
+
+LINK-$(CONFIG_LD_SCRIPT_DYN) += -Wl,-rpath,/lib64