Skip to content

Commit

Permalink
Do not claim libbearssl et al are INTERNALLIB
Browse files Browse the repository at this point in the history
If INTERNALLIB is defined we need PIE and bsd.incs.mk is
not included.

PR:		245189
Reviewed by:	emaste
MFC after:	1 week
Differential Revision: https://reviews.freebsd.org//D24233
  • Loading branch information
sgerraty committed Apr 1, 2020
1 parent b6a1654 commit 23cfd5d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/libveriexec/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# $FreeBSD$

.include <bsd.own.mk>
.include <src.opts.mk>

LIB= veriexec
MAN= veriexec.3
Expand Down
10 changes: 5 additions & 5 deletions share/mk/src.libnames.mk
Original file line number Diff line number Diff line change
Expand Up @@ -222,18 +222,18 @@ _LIBRARIES+= \
.endif

.if ${MK_BEARSSL} == "yes"
_INTERNALLIBS+= \
_LIBRARIES+= \
bearssl \
secureboot \

LIBBEARSSL?= ${LIBBEARSSLDIR}/libbearssl${PIE_SUFFIX}.a
LIBSECUREBOOT?= ${LIBSECUREBOOTDIR}/libsecureboot${PIE_SUFFIX}.a
LIBBEARSSL?= ${LIBBEARSSLDIR}/libbearssl.a
LIBSECUREBOOT?= ${LIBSECUREBOOTDIR}/libsecureboot.a
.endif

.if ${MK_VERIEXEC} == "yes"
_INTERNALLIBS+= veriexec
_LIBRARIES+= veriexec

LIBVERIEXEC?= ${LIBVERIEXECDIR}/libveriexec${PIE_SUFFIX}.a
LIBVERIEXEC?= ${LIBVERIEXECDIR}/libveriexec.a
.endif

# Each library's LIBADD needs to be duplicated here for static linkage of
Expand Down

0 comments on commit 23cfd5d

Please sign in to comment.