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"
124124
125125export WASMER_DIR=${SDKROOT} /wasmer
126126
127+ # ============== pnpm ====================
128+
129+ export PNPM_HOME=$( echo -n $SDKROOT /emsdk/node/* .* .* /bin)
130+ EXTRABINS=" $EXTRABINS $PNPM_HOME "
127131
128132# ================ bun ====================
129133export BUN_INSTALL=${SDKROOT} /bun
Original file line number Diff line number Diff line change 4545
4646 if [ -d src/libffi ]
4747 then
48- echo -n
48+ echo "
49+ using local sources
50+ "
4951 else
5052 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
5964 popd
6065 fi
6166
You can’t perform that action at this time.
0 commit comments