Skip to content

Commit 644c06b

Browse files
committed
f
1 parent 27f6c8c commit 644c06b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

cmake/ProjectBinaryen.cmake

-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ ExternalProject_Add(binaryen
4444
BINARY_DIR ${binary_dir}
4545
URL https://github.com/WebAssembly/binaryen/archive/1.38.9.tar.gz
4646
URL_HASH SHA256=f8c6d4deb83dba8709c4df9f7983080ec0f9412e88899767ed2815b911ce1ebd
47-
PATCH_COMMAND sh ${CMAKE_CURRENT_LIST_DIR}/patch_binaryen.sh
4847
CMAKE_ARGS
4948
-DCMAKE_INSTALL_PREFIX=<INSTALL_DIR>
5049
-DCMAKE_BUILD_TYPE=Release

cmake/patch_binaryen.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22

33
sed -iE 's/COMMAND python /COMMAND /' src/passes/CMakeLists.txt
4-
sed -iE 's/\#\!/usr/bin/env python/#!/usr/bin/env python2/' scripts/embedwast.py
4+
sed -iE 's/^#!/usr/bin/env python/#!/usr/bin/env python2/' scripts/embedwast.py

0 commit comments

Comments
 (0)