From 31ecf630d05ba3a849d7b5cc1bd11ba1e5eb0785 Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Fri, 13 Jul 2018 20:05:24 +0200 Subject: [PATCH] build: account for pure C sources in `build-addons-napi` PR-URL: https://github.com/nodejs/node/pull/21797 Reviewed-By: Gus Caplan Reviewed-By: Jon Moss Reviewed-By: James M Snell Reviewed-By: Luigi Pinca Reviewed-By: Refael Ackermann Reviewed-By: Richard Lau Reviewed-By: Colin Ihrig --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 600d87fd2316b2..8f378b4c9ddf41 100644 --- a/Makefile +++ b/Makefile @@ -370,6 +370,7 @@ ADDONS_NAPI_BINDING_GYPS := \ $(wildcard test/addons-napi/*/binding.gyp)) ADDONS_NAPI_BINDING_SOURCES := \ + $(filter-out test/addons-napi/??_*/*.c, $(wildcard test/addons-napi/*/*.c)) \ $(filter-out test/addons-napi/??_*/*.cc, $(wildcard test/addons-napi/*/*.cc)) \ $(filter-out test/addons-napi/??_*/*.h, $(wildcard test/addons-napi/*/*.h))