summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorcperciva <cperciva@FreeBSD.org>2015-12-25 11:29:18 +0000
committercperciva <cperciva@FreeBSD.org>2015-12-25 11:29:18 +0000
commitea201437309bec756e9ac445b5ffbd9d86a9556c (patch)
tree904eb85cae295385e20baa0a6aa6556b63d4e69e /lib
parent6e0a844f5977035a478412383687a45c81b301d8 (diff)
downloadFreeBSD-src-ea201437309bec756e9ac445b5ffbd9d86a9556c.zip
FreeBSD-src-ea201437309bec756e9ac445b5ffbd9d86a9556c.tar.gz
Make libxnet.so a symlink to libc.so. This makes `-lxnet` a no-op, as
POSIX requires for the c99 compiler. (In fact, our c99(1) already ignores -lxnet; but our make(1) doesn't set ${CC} correctly, and our cc(1) treats xnet like any other library.) Reviewed by: kib
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/Makefile b/lib/libc/Makefile
index 2f8865c..e9f14f4 100644
--- a/lib/libc/Makefile
+++ b/lib/libc/Makefile
@@ -26,6 +26,7 @@ LIBC_ARCH=${MACHINE_CPUARCH}
LIB=c
SHLIB_MAJOR= 7
SHLIB_LDSCRIPT=libc.ldscript
+SHLIB_LDSCRIPT_LINKS=libxnet.so
WARNS?= 2
CFLAGS+=-I${LIBC_SRCTOP}/include -I${LIBC_SRCTOP}/../../include
CFLAGS+=-I${LIBC_SRCTOP}/${LIBC_ARCH}
OpenPOWER on IntegriCloud