summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rw-r--r--share/mk/bsd.compat.mk1
-rw-r--r--share/mk/bsd.lib.mk2
2 files changed, 2 insertions, 1 deletions
diff --git a/share/mk/bsd.compat.mk b/share/mk/bsd.compat.mk
index 522dc5c..6953957 100644
--- a/share/mk/bsd.compat.mk
+++ b/share/mk/bsd.compat.mk
@@ -7,6 +7,7 @@
NOEXTRADEPEND:NO_EXTRADEPEND \
NOINFO:NO_INFO \
NOINFOCOMPRESS:NO_INFOCOMPRESS \
+ NOINSTALLLIB:NO_INSTALLLIB \
NOLIBC_R:NO_LIBC_R \
NOLIBPTHREAD:NO_LIBPTHREAD \
NOLIBTHR:NO_LIBTHR \
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk
index e0e2967..61b8da5 100644
--- a/share/mk/bsd.lib.mk
+++ b/share/mk/bsd.lib.mk
@@ -207,7 +207,7 @@ _SHLINSTALLFLAGS:= ${_SHLINSTALLFLAGS${ie}}
realinstall: _libinstall
.ORDER: beforeinstall _libinstall
_libinstall:
-.if defined(LIB) && !empty(LIB) && !defined(NOINSTALLLIB)
+.if defined(LIB) && !empty(LIB) && !defined(NO_INSTALLLIB)
${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
${_INSTALLFLAGS} lib${LIB}.a ${DESTDIR}${LIBDIR}
.endif
OpenPOWER on IntegriCloud