Skip to content

Commit adbc7aa

Browse files
committed
Only define the custom_lib_installdirs target once.
If CRUNCH_CUSTOM_LIBS contains multiple libraries, this target is defined multiple times which triggers warnings from make.
1 parent 61d36f2 commit adbc7aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

share/mk/bsd.crunchgen.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,9 @@ build-tools-${_tool}:
154154
build-tools: build-tools-${_tool}
155155
.endfor
156156

157-
.for _lib in ${CRUNCH_CUSTOM_LIBS}
158157
custom_lib_installdirs:
159158
mkdir -p ${CRUNCHOBJS}/tmp/usr/lib
159+
.for _lib in ${CRUNCH_CUSTOM_LIBS}
160160
custom-lib-${_lib}: custom_lib_installdirs
161161
${_+_}cd ${.CURDIR}/../../${_lib}; \
162162
if [ "${MK_AUTO_OBJ}" = "no" ]; then \

0 commit comments

Comments
 (0)