Skip to content

Commit 79bfd25

Browse files
committed
Set NODE_PATH env var
1 parent 370b1ef commit 79bfd25

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/make/lib/links/links.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ LINKS_ID2URI_FLAGS ?= \
4747
# This target creates a link entry in the link database.
4848

4949
links-insert: $(NODE_MODULES)
50-
$(QUIET) $(LINKS_INSERT) $(LINKS_INSERT_FLAGS)
50+
$(QUIET) NODE_PATH="$(NODE_PATH)" $(LINKS_INSERT) $(LINKS_INSERT_FLAGS)
5151

5252
.PHONY: links-insert
5353

@@ -57,7 +57,7 @@ links-insert: $(NODE_MODULES)
5757
# This target resolves a database link identifier from a URI.
5858

5959
links-uri2id: $(NODE_MODULES)
60-
$(QUIET) $(LINKS_URI2ID) $(LINKS_URI2ID_FLAGS)
60+
$(QUIET) NODE_PATH="$(NODE_PATH)" $(LINKS_URI2ID) $(LINKS_URI2ID_FLAGS)
6161

6262
.PHONY: links-uri2id
6363

@@ -67,6 +67,6 @@ links-uri2id: $(NODE_MODULES)
6767
# This target resolves a database URI from an id.
6868

6969
links-id2uri: $(NODE_MODULES)
70-
$(QUIET) $(LINKS_ID2URI) $(LINKS_ID2URI_FLAGS)
70+
$(QUIET) NODE_PATH="$(NODE_PATH)" $(LINKS_ID2URI) $(LINKS_ID2URI_FLAGS)
7171

7272
.PHONY: links-id2uri

0 commit comments

Comments
 (0)