From ea201437309bec756e9ac445b5ffbd9d86a9556c Mon Sep 17 00:00:00 2001 From: cperciva Date: Fri, 25 Dec 2015 11:29:18 +0000 Subject: 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 --- lib/libc/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') 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} -- cgit v1.1