summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2018-07-13 20:05:24 +0200
committerAnna Henningsen <anna@addaleax.net>2018-07-16 20:07:34 +0200
commit31ecf630d05ba3a849d7b5cc1bd11ba1e5eb0785 (patch)
tree87a61015051a9132406f381a021549b829fc5fde /Makefile
parentbd1f355fc5805c8307da85a16d1a385e5c48813a (diff)
downloadandroid-node-v8-31ecf630d05ba3a849d7b5cc1bd11ba1e5eb0785.tar.gz
android-node-v8-31ecf630d05ba3a849d7b5cc1bd11ba1e5eb0785.tar.bz2
android-node-v8-31ecf630d05ba3a849d7b5cc1bd11ba1e5eb0785.zip
build: account for pure C sources in `build-addons-napi`
PR-URL: https://github.com/nodejs/node/pull/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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 600d87fd23..8f378b4c9d 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))