Skip to content

Commit 6bb2b5a

Browse files
addaleaxtargos
authored andcommitted
build: account for pure C sources in build-addons-napi
PR-URL: #21797 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 53b587a commit 6bb2b5a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,7 @@ ADDONS_NAPI_BINDING_GYPS := \
370370
$(wildcard test/addons-napi/*/binding.gyp))
371371

372372
ADDONS_NAPI_BINDING_SOURCES := \
373+
$(filter-out test/addons-napi/??_*/*.c, $(wildcard test/addons-napi/*/*.c)) \
373374
$(filter-out test/addons-napi/??_*/*.cc, $(wildcard test/addons-napi/*/*.cc)) \
374375
$(filter-out test/addons-napi/??_*/*.h, $(wildcard test/addons-napi/*/*.h))
375376

0 commit comments

Comments
 (0)