summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-20 18:40:31 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-20 18:40:31 +0800
commitf892936d0ec85df5e88abff37842b47f0f912255 (patch)
treee16a2e0a5cdcc1c459eca4d06df0d39f06d89306
parent3d21d02a696f6d370aa016606c918e9e535bcb7c (diff)
Make more general and defaults to FreeBSD
-rwxr-xr-xwasm32-unknown-emscripten-configure3
1 files changed, 2 insertions, 1 deletions
diff --git a/wasm32-unknown-emscripten-configure b/wasm32-unknown-emscripten-configure
index 25d6947..5492328 100755
--- a/wasm32-unknown-emscripten-configure
+++ b/wasm32-unknown-emscripten-configure
@@ -1,4 +1,5 @@
#!/bin/sh
+export PREFIX=/usr/local/lib
export CPPFLAGS="$CPPFLAGS -DDEBUG"
export CFLAGS="$CFLAGS -g"
-emconfigure ../configure --host=wasm32-unknown-emscripten --prefix=$EMSDK/upstream/emscripten/system
+emconfigure ../configure --prefix=$PREFIX/emscripten/system