Stage 3 of dynamic root support, con't.

'ld' should also search /lib for dynamic libraries.
This commit is contained in:
obrien 2003-08-17 21:45:26 +00:00
parent 28d3a70cba
commit 33c986fdf5
6 changed files with 6 additions and 6 deletions

View File

@ -7,7 +7,7 @@ NATIVE_EMULATION= elf64alpha_fbsd
HOST= ${TARGET_TUPLE}
CFLAGS+= -DDEFAULT_EMULATION=\"${NATIVE_EMULATION}\"
CFLAGS+= -DTARGET=\"${TARGET_TUPLE}\"
_alpha_path= \"${TOOLS_PREFIX}/usr/lib\"
_alpha_path= \"${TOOLS_PREFIX}/lib:${TOOLS_PREFIX}/usr/lib\"
.else
_alpha_path= \"/usr/cross/alpha-freebsd/usr/lib\"
.endif

View File

@ -6,7 +6,7 @@ NATIVE_EMULATION= elf_x86_64_fbsd
HOST= ${TARGET_TUPLE}
CFLAGS+= -DDEFAULT_EMULATION=\"${NATIVE_EMULATION}\"
CFLAGS+= -DTARGET=\"${TARGET_TUPLE}\"
_amd64_path= \"${TOOLS_PREFIX}/usr/lib\"
_amd64_path= \"${TOOLS_PREFIX}/lib:${TOOLS_PREFIX}/usr/lib\"
EMS+= ${NATIVE_EMULATION}
LDSCRIPTS+= ${NATIVE_EMULATION}.x ${NATIVE_EMULATION}.xbn ${NATIVE_EMULATION}.xn ${NATIVE_EMULATION}.xr \
${NATIVE_EMULATION}.xs ${NATIVE_EMULATION}.xu ${NATIVE_EMULATION}.xc ${NATIVE_EMULATION}.xsc

View File

@ -7,7 +7,7 @@ NATIVE_EMULATION= elf_i386_fbsd
HOST= ${TARGET_TUPLE}
CFLAGS+= -DDEFAULT_EMULATION=\"${NATIVE_EMULATION}\"
CFLAGS+= -DTARGET=\"${TARGET_TUPLE}\"
_i386_path= \"${TOOLS_PREFIX}/usr/lib\"
_i386_path= \"${TOOLS_PREFIX}/lib:${TOOLS_PREFIX}/usr/lib\"
.else
_i386_path= \"/usr/cross/i386-freebsd/usr/lib\"
.endif

View File

@ -7,7 +7,7 @@ NATIVE_EMULATION= elf64_ia64_fbsd
HOST= ${TARGET_TUPLE}
CFLAGS+= -DDEFAULT_EMULATION=\"${NATIVE_EMULATION}\"
CFLAGS+= -DTARGET=\"${TARGET_TUPLE}\"
_ia64_path= \"${TOOLS_PREFIX}/usr/lib\"
_ia64_path= \"${TOOLS_PREFIX}/lib:${TOOLS_PREFIX}/usr/lib\"
.else
_ia64_path= \"/usr/cross/ia64-freebsd/usr/lib\"
.endif

View File

@ -7,7 +7,7 @@ NATIVE_EMULATION= elf32ppc
HOST= ${TARGET_TUPLE}
CFLAGS+= -DDEFAULT_EMULATION=\"${NATIVE_EMULATION}\"
CFLAGS+= -DTARGET=\"${TARGET_TUPLE}\"
_powerpc_path= \"${TOOLS_PREFIX}/usr/lib\"
_powerpc_path= \"${TOOLS_PREFIX}/lib:${TOOLS_PREFIX}/usr/lib\"
.else
_powerpc_path= \"/usr/cross/powerpc-freebsd/usr/lib\"
.endif

View File

@ -7,7 +7,7 @@ NATIVE_EMULATION= elf64_sparc_fbsd
HOST= ${TARGET_TUPLE}
CFLAGS+= -DDEFAULT_EMULATION=\"${NATIVE_EMULATION}\"
CFLAGS+= -DTARGET=\"${TARGET_TUPLE}\"
_sparc_path= \"${TOOLS_PREFIX}/usr/lib\"
_sparc_path= \"${TOOLS_PREFIX}/lib:${TOOLS_PREFIX}/usr/lib\"
.else
_sparc_path= \"/usr/cross/sparc-freebsd/usr/lib\"
.endif