Skip to content

Commit e0bfb1c

Browse files
authored
Revert part of #2281 to allow the possiblity of building under python2 (#2349)
Even though we do support python3 and if the python in your path happens to be python3 that will work just fine, we also want to continue to support those users who still only have python2 (i.e. mac users who are relying on the default system python). See emscripten-core/emsdk#356
1 parent 31b132b commit e0bfb1c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/passes/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
add_custom_command(
22
OUTPUT WasmIntrinsics.cpp
3-
COMMAND python3 ${PROJECT_SOURCE_DIR}/scripts/embedwast.py ${PROJECT_SOURCE_DIR}/src/passes/wasm-intrinsics.wast ${CMAKE_CURRENT_BINARY_DIR}/WasmIntrinsics.cpp
3+
COMMAND python ${PROJECT_SOURCE_DIR}/scripts/embedwast.py ${PROJECT_SOURCE_DIR}/src/passes/wasm-intrinsics.wast ${CMAKE_CURRENT_BINARY_DIR}/WasmIntrinsics.cpp
44
DEPENDS ${PROJECT_SOURCE_DIR}/scripts/embedwast.py wasm-intrinsics.wast)
55

66
SET(passes_SOURCES

0 commit comments

Comments
 (0)