mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
This is not necessarily the correct fix, but at least sbin/init compiles
in a sterile environment like "make release"
This commit is contained in:
parent
cfc038e79c
commit
8440a01077
1 changed files with 11 additions and 8 deletions
|
|
@ -8,14 +8,17 @@ BINMODE=500
|
|||
INSTALLFLAGS=-fschg
|
||||
CFLAGS+=-DDEBUGSHELL -DSECURE -DLOGIN_CAP -DCOMPAT_SYSV_INIT
|
||||
|
||||
.if exists(${.CURDIR}/../../secure) && !defined(NOCRYPT) && !defined(NOSECURE)
|
||||
DISTRIBUTION=crypto
|
||||
DPADD= ${LIBUTIL} ${DESCRYPTOBJDIR}/libdescrypt.a
|
||||
LDADD= -lutil -L${DESCRYPTOBJDIR} -ldescrypt
|
||||
.else
|
||||
DPADD= ${LIBUTIL} ${SCRYPTOBJDIR}/libscrypt.a
|
||||
LDADD= -lutil -L${SCRYPTOBJDIR} -lscrypt
|
||||
.endif
|
||||
#.if exists(${.CURDIR}/../../secure) && !defined(NOCRYPT) && !defined(NOSECURE)
|
||||
#DISTRIBUTION=crypto
|
||||
#DPADD= ${LIBUTIL} ${DESCRYPTOBJDIR}/libdescrypt.a
|
||||
#LDADD= -lutil -L${DESCRYPTOBJDIR} -ldescrypt
|
||||
#.else
|
||||
#DPADD= ${LIBUTIL} ${SCRYPTOBJDIR}/libscrypt.a
|
||||
#LDADD= -lutil -L${SCRYPTOBJDIR} -lscrypt
|
||||
#.endif
|
||||
|
||||
DPADD= ${LIBUTIL} ${SCRYPTOBJDIR}/libcrypt.a
|
||||
LDADD= -lutil -L${SCRYPTOBJDIR} -lcrypt
|
||||
|
||||
.if exists(${.OBJDIR}/../../lib/libcrypt)
|
||||
SCRYPTOBJDIR= ${.OBJDIR}/../../lib/libcrypt
|
||||
|
|
|
|||
Loading…
Reference in a new issue