File tree Expand file tree Collapse file tree 2 files changed +18
-9
lines changed Expand file tree Collapse file tree 2 files changed +18
-9
lines changed Original file line number Diff line number Diff line change @@ -124,6 +124,10 @@ EXTRABINS="$EXTRABINS $GOROOT/bin"
124
124
125
125
export WASMER_DIR=${SDKROOT} /wasmer
126
126
127
+ # ============== pnpm ====================
128
+
129
+ export PNPM_HOME=$( echo -n $SDKROOT /emsdk/node/* .* .* /bin)
130
+ EXTRABINS=" $EXTRABINS $PNPM_HOME "
127
131
128
132
# ================ bun ====================
129
133
export BUN_INSTALL=${SDKROOT} /bun
Original file line number Diff line number Diff line change 45
45
46
46
if [ -d src/libffi ]
47
47
then
48
- echo -n
48
+ echo "
49
+ using local sources
50
+ "
49
51
else
50
52
pushd src 2>&1 > /dev/null
51
- # breaks with 3.1.46
52
- # git clone https://github.com/pmp-p/libffi-emscripten.git libffi
53
-
54
- # breaks with 3.1.46
55
- git clone --no-tags --depth 1 --single-branch --branch master https://github.com/libffi/libffi
56
- pushd libffi
57
- ./autogen.sh
58
- popd
53
+ # breaks with 3.1.46
54
+ # git clone https://github.com/pmp-p/libffi-emscripten.git libffi
55
+
56
+ # breaks with 3.1.46
57
+ # git clone --no-tags --depth 1 --single-branch --branch master https://github.com/libffi/libffi
58
+ # pushd libffi
59
+ ./autogen.sh
60
+ # popd
61
+ wget https://github.com/libffi/libffi/releases/download/v3.4.8/libffi-3.4.8.tar.gz
62
+ tar xvfz libffi-3.4.8.tar.gz && rm libffi-3.4.8.tar.gz
63
+ mv libffi-* .* .* libffi
59
64
popd
60
65
fi
61
66
You can’t perform that action at this time.
0 commit comments