diff options
| author | Freya Murphy <freya@freyacat.org> | 2025-11-17 11:47:05 -0500 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2025-11-17 11:47:05 -0500 |
| commit | c87821116dc15a306a423bb37dd7e9237fb541c3 (patch) | |
| tree | 6ebac5a7fd8daa0ee9ea3deab7e3ae70dda26889 /Makefile | |
| parent | wasm: remove unneeded flags/pkgs (diff) | |
| download | DungeonCrawl-c87821116dc15a306a423bb37dd7e9237fb541c3.tar.gz DungeonCrawl-c87821116dc15a306a423bb37dd7e9237fb541c3.tar.bz2 DungeonCrawl-c87821116dc15a306a423bb37dd7e9237fb541c3.zip | |
wasm: fix C_INCLUDE_PATH for non wasm builds
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -22,6 +22,7 @@ dist: env \ CC=emcc \ EMCC_CFLAGS="$(EMCC_CFLAGS)" \ + C_INCLUDE_PATH="$(EMSDK_SYSROOT)/include:$C_INCLUDE_PATH" \ cargo build --target wasm32-unknown-emscripten --profile wasm mkdir -p dist cp ./target/wasm32-unknown-emscripten/wasm/game.{js,wasm} dist |