Skip to content

Commit

Permalink
Disable building native add-ons via MinGW or MSYS
Browse files Browse the repository at this point in the history
  • Loading branch information
kgryte committed Feb 1, 2017
1 parent 63e8cd8 commit 31af2f0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/make/lib/addons/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ endif
# This target installs native add-ons.

install-addons: clean-addons
ifneq ($(OS), WINNT)
$(QUIET) $(MAKE) -f $(this_file) list-pkgs-addons | while read -r pkg; do \
if echo "$$pkg" | grep -v '^\/.*\|^[a-zA-Z]:.*' >/dev/null; then \
continue; \
Expand All @@ -57,6 +58,9 @@ install-addons: clean-addons
$(NODE_GYP) $(NODE_GYP_FLAGS) rebuild \
|| exit 1; \
done
else
$(QUIET) echo 'Building native add-ons is not supported on Windows systems.'
endif

.PHONY: install-addons

Expand Down

0 comments on commit 31af2f0

Please sign in to comment.