minetest-wasm/build_sqlite3.sh

14 lines
256 B
Bash
Executable File

#!/bin/bash -eux
source common.sh
unpack_source SQLite
pushd "$BUILD_DIR/SQLite"
export BUILD_CC="gcc"
emconfigure ./configure --disable-tcl --disable-shared --prefix="$INSTALL_DIR" cross_compiling=yes
emmake make
emmake make install
echo "sqlite3 OK"