diff options
Diffstat (limited to 'share/mk/meta.stage.mk')
-rw-r--r-- | share/mk/meta.stage.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/share/mk/meta.stage.mk b/share/mk/meta.stage.mk index 8498adf..63cef7f 100644 --- a/share/mk/meta.stage.mk +++ b/share/mk/meta.stage.mk @@ -135,12 +135,14 @@ STAGE_LIBS ?= ${.ALLSRC:N.dirdep} stage_libs: .dirdep @${STAGE_FILE_SCRIPT}; StageFiles ${STAGE_LIBDIR:${STAGE_DIR_FILTER}} ${STAGE_LIBS} +.if !defined(NO_SHLIB_LINKS) .if !empty(SHLIB_LINKS) @${STAGE_LINKS_SCRIPT}; StageLinks -s ${STAGE_LIBDIR:${STAGE_DIR_FILTER}} \ ${SHLIB_LINKS:@t@${STAGE_LIBS:T:M$t.*} $t@} .elif !empty(SHLIB_LINK) && !empty(SHLIB_NAME) @${STAGE_LINKS_SCRIPT}; StageLinks -s ${STAGE_LIBDIR:${STAGE_DIR_FILTER}} ${SHLIB_NAME} ${SHLIB_LINK} ${SYMLINKS:T} .endif +.endif @touch $@ .endif |