Browse Source

package/archlinux: make Emscripten builds work with no cache at all.

pull/168/head
Vladimír Vondruš 2 years ago
parent
commit
e34c8439ec
  1. 3
      package/archlinux/PKGBUILD-emscripten-wasm
  2. 3
      package/archlinux/PKGBUILD-emscripten-wasm-webgl2

3
package/archlinux/PKGBUILD-emscripten-wasm

@ -13,6 +13,9 @@ options=('!strip' '!buildflags')
_rootdir=$startdir/../../
prepare() {
# rsync can't create the directory on its own if it doesn't exist at all,
# heh
mkdir -p $(em-config CACHE)/sysroot/include/
# This is needed in order to fill ~/.emscripten_cache/sysroot/ with
# up-to-date dependency headers and libs. There's
# embuilder build sysroot --force

3
package/archlinux/PKGBUILD-emscripten-wasm-webgl2

@ -13,6 +13,9 @@ options=('!strip' '!buildflags')
_rootdir=$startdir/../../
prepare() {
# rsync can't create the directory on its own if it doesn't exist at all,
# heh
mkdir -p $(em-config CACHE)/sysroot/include/
# This is needed in order to fill ~/.emscripten_cache/sysroot/ with
# up-to-date dependency headers and libs. There's
# embuilder build sysroot --force

Loading…
Cancel
Save