From 89699e113faea33b4d774b5e403372f58d276c5b Mon Sep 17 00:00:00 2001 From: des Date: Sun, 8 Sep 2013 09:46:22 +0000 Subject: Add a stock libmap32.conf for amd64. The first two lines have no effect except to document the hardcoded standard library search path for 32-bit binaries. The third line performs the equivalent substitution for the private library directory. Ironically, these entries rely on functionality which is only available in the COMPAT_32BIT version of rtld-elf. Approved by: re (blanket) --- etc/Makefile | 4 ++++ etc/etc.amd64/libmap32.conf | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 etc/etc.amd64/libmap32.conf (limited to 'etc') diff --git a/etc/Makefile b/etc/Makefile index 6e2a716..2210cc6 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -50,6 +50,10 @@ BIN1= crontab \ syslog.conf \ termcap.small +.if ${MACHINE} == "amd64" +BIN1+= etc.${MACHINE}/libmap32.conf +.endif + .if exists(${.CURDIR}/etc.${MACHINE}/ttys) BIN1+= etc.${MACHINE}/ttys .elif exists(${.CURDIR}/etc.${MACHINE_ARCH}/ttys) diff --git a/etc/etc.amd64/libmap32.conf b/etc/etc.amd64/libmap32.conf new file mode 100644 index 0000000..6096e21 --- /dev/null +++ b/etc/etc.amd64/libmap32.conf @@ -0,0 +1,4 @@ +# $FreeBSD$ +/lib /lib32 +/usr/lib /usr/lib32 +/usr/lib/private /usr/lib32/private -- cgit v1.1