Honor WITHOUT_INSTALLLIB in some places.
This commit is contained in:
parent
015ebba0c0
commit
455cc6ec70
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=188583
@ -332,8 +332,10 @@ all: lib${LIB}_eh_p.a
|
||||
_libinstall: _lib-eh-install
|
||||
|
||||
_lib-eh-install:
|
||||
.if ${MK_INSTALLLIB} != "no"
|
||||
${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
|
||||
${_INSTALLFLAGS} lib${LIB}_eh.a ${DESTDIR}${LIBDIR}
|
||||
.endif
|
||||
.if ${MK_PROFILE} != "no"
|
||||
${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
|
||||
${_INSTALLFLAGS} lib${LIB}_eh_p.a ${DESTDIR}${LIBDIR}
|
||||
|
@ -33,7 +33,9 @@ PRECIOUSLIB=
|
||||
.include "${.CURDIR}/sys/Makefile.inc"
|
||||
|
||||
.if ${DEFAULT_THREAD_LIB} == "libc_r"
|
||||
.if ${MK_INSTALLLIB} != "no"
|
||||
SYMLINKS+=lib${LIB}.a ${LIBDIR}/libpthread.a
|
||||
.endif
|
||||
.if !defined(NO_PIC)
|
||||
SYMLINKS+=lib${LIB}.so ${LIBDIR}/libpthread.so
|
||||
.endif
|
||||
|
@ -52,7 +52,9 @@ PRECIOUSLIB=
|
||||
.include "${.CURDIR}/thread/Makefile.inc"
|
||||
|
||||
.if ${DEFAULT_THREAD_LIB} == "libkse" || ${MK_LIBTHR} == "no"
|
||||
.if ${MK_INSTALLLIB} != "no"
|
||||
SYMLINKS+=lib${LIB}.a ${LIBDIR}/libpthread.a
|
||||
.endif
|
||||
.if !defined(NO_PIC)
|
||||
SYMLINKS+=lib${LIB}.so ${LIBDIR}/libpthread.so
|
||||
.endif
|
||||
|
@ -44,7 +44,9 @@ PRECIOUSLIB=
|
||||
.include "${.CURDIR}/sys/Makefile.inc"
|
||||
.include "${.CURDIR}/thread/Makefile.inc"
|
||||
|
||||
.if ${MK_INSTALLLIB} != "no"
|
||||
SYMLINKS+=lib${LIB}.a ${LIBDIR}/libpthread.a
|
||||
.endif
|
||||
.if !defined(NO_PIC)
|
||||
SYMLINKS+=lib${LIB}.so ${LIBDIR}/libpthread.so
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user