diff options
author | bapt <bapt@FreeBSD.org> | 2015-04-09 21:38:40 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2015-04-09 21:38:40 +0000 |
commit | 2ef8ecc84200848c2501477275323b7b0ae9748c (patch) | |
tree | 003a2e6c24f40c6eaf30bf0c07a965dd7de745b7 | |
parent | 4bb707efc49daeefe5b2729ab6aed2d424194784 (diff) | |
download | FreeBSD-src-2ef8ecc84200848c2501477275323b7b0ae9748c.zip FreeBSD-src-2ef8ecc84200848c2501477275323b7b0ae9748c.tar.gz |
Fix overlinking in bhyve:
libvmmapi is actually needed to be linked to libutil, not bhyve nor bhyveload
-rw-r--r-- | lib/libvmmapi/Makefile | 2 | ||||
-rw-r--r-- | share/mk/src.libnames.mk | 1 | ||||
-rw-r--r-- | usr.sbin/bhyve/Makefile | 2 | ||||
-rw-r--r-- | usr.sbin/bhyveload/Makefile | 2 |
4 files changed, 5 insertions, 2 deletions
diff --git a/lib/libvmmapi/Makefile b/lib/libvmmapi/Makefile index 93d3c85..26cf86f 100644 --- a/lib/libvmmapi/Makefile +++ b/lib/libvmmapi/Makefile @@ -6,6 +6,8 @@ INCS= vmmapi.h WARNS?= 2 +LIBADD= util + CFLAGS+= -I${.CURDIR} .include <bsd.lib.mk> diff --git a/share/mk/src.libnames.mk b/share/mk/src.libnames.mk index d6a9ba2..0fbad38 100644 --- a/share/mk/src.libnames.mk +++ b/share/mk/src.libnames.mk @@ -229,6 +229,7 @@ _DP_krb5+= asn1 com_err crypt crypto hx509 roken wind heimbase heimipcc \ _DP_gssapi_krb5+= gssapi krb5 crypto roken asn1 com_err _DP_lzma= pthread _DP_ucl= m +_DP_vmmapi= util # Define spacial cases LDADD_supcplusplus= -lsupc++ diff --git a/usr.sbin/bhyve/Makefile b/usr.sbin/bhyve/Makefile index 5a1c2c6c..bb81bcb 100644 --- a/usr.sbin/bhyve/Makefile +++ b/usr.sbin/bhyve/Makefile @@ -43,7 +43,7 @@ SRCS= \ .PATH: ${.CURDIR}/../../sys/amd64/vmm SRCS+= vmm_instruction_emul.c -LIBADD= vmmapi md util pthread +LIBADD= vmmapi md pthread WARNS?= 2 diff --git a/usr.sbin/bhyveload/Makefile b/usr.sbin/bhyveload/Makefile index aa89b6c..fce0c1b 100644 --- a/usr.sbin/bhyveload/Makefile +++ b/usr.sbin/bhyveload/Makefile @@ -4,7 +4,7 @@ PROG= bhyveload SRCS= bhyveload.c MAN= bhyveload.8 -LIBADD= vmmapi util +LIBADD= vmmapi WARNS?= 3 |