Skip to content

Commit 531eb1d

Browse files
committed
Add options in node loader to avoid building bootstrap and trampoline, they are needed for building with guix which does not allow to invoke npm install.
1 parent eea95df commit 531eb1d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source/loaders/node_loader/bootstrap/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Check if this loader is enabled
2-
if(NOT OPTION_BUILD_LOADERS OR NOT OPTION_BUILD_LOADERS_NODE)
2+
if(NOT OPTION_BUILD_LOADERS OR NOT OPTION_BUILD_LOADERS_NODE OR DISABLE_BUILD_LOADERS_NODE_BOOTSTRAP)
33
return()
44
endif()
55

source/loaders/node_loader/trampoline/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Check if this loader is enabled
2-
if(NOT OPTION_BUILD_LOADERS OR NOT OPTION_BUILD_LOADERS_NODE)
2+
if(NOT OPTION_BUILD_LOADERS OR NOT OPTION_BUILD_LOADERS_NODE OR DISABLE_BUILD_LOADERS_NODE_TRAMPOLINE)
33
return()
44
endif()
55

0 commit comments

Comments
 (0)