Skip to content

Commit

Permalink
Fix emscripten build example for bash
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjclark authored and SiegeLord committed Mar 10, 2022
1 parent 42fe873 commit d743a35
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README_sdl.txt
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ emcmake cmake .. \
-D WANT_OPENAL=OFF \
-D ALLEGRO_WAIT_EVENT_SLEEP=ON \
-D SDL2_INCLUDE_DIR=$EM_CACHE/sysroot/include \
-D CMAKE_C_FLAGS="${USE_FLAGS}" \
-D CMAKE_CXX_FLAGS="${USE_FLAGS}" \
-D CMAKE_EXE_LINKER_FLAGS="${USE_FLAGS} --preload-file data" \
-D CMAKE_C_FLAGS="${USE_FLAGS[*]}" \
-D CMAKE_CXX_FLAGS="${USE_FLAGS[*]}" \
-D CMAKE_EXE_LINKER_FLAGS="${USE_FLAGS[*]} --preload-file data" \
-D CMAKE_EXECUTABLE_SUFFIX_CXX=".html"
```

Expand Down

0 comments on commit d743a35

Please sign in to comment.