Skip to content

Commit

Permalink
Update tar command
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGreatRambler committed Jan 28, 2022
1 parent a9938f5 commit ee9699c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ ifeq ($(PLATFORM),web)
PRELOADED_FILES = --preload-file img@/img --preload-file fonts@/fonts

EMS += -s USE_SDL=2 -s USE_ZLIB=1 -s USE_FREETYPE=1 -s USE_LIBPNG=1 -s DISABLE_EXCEPTION_CATCHING=1
CPPFLAGS += -I./third_party/cairo-1.16.0/src -O2 $(EMS)
CPPFLAGS += -I./third_party/cairo-1.16.0/src -O3 $(EMS)
LDFLAGS += -s CASE_INSENSITIVE_FS=1 -s WASM=1 -s ALLOW_MEMORY_GROWTH=1 -s NO_EXIT_RUNTIME=0 -s ASSERTIONS=1 -s ALLOW_MEMORY_GROWTH=1 -s TOTAL_STACK=10000000 -s ASYNCIFY -s FETCH=1 -s FORCE_FILESYSTEM=1 -o bin/index.html --shell-file shell_minimal.html $(PRELOADED_FILES) $(EMS) -L./third_party/cairo-1.16.0/src/.libs -lcairo -L./third_party/pixman-0.40.0/pixman/.libs -lpixman-1
else
CPPFLAGS += $(shell pkg-config --cflags sdl2 glew glfw3 zlib cairo freetype2 libcurl) -Wno-cast-function-type
Expand Down
4 changes: 2 additions & 2 deletions prepare_web_deps.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
mkdir third_party
wget -c https://www.cairographics.org/releases/cairo-1.16.0.tar.xz
C:/msys64/usr/bin/tar.exe -xvf cairo-1.16.0.tar.xz -C third_party
tar -xvf cairo-1.16.0.tar.xz -C third_party
rm cairo-1.16.0.tar.xz
wget -c https://www.cairographics.org/releases/pixman-0.40.0.tar.gz
C:/msys64/usr/bin/tar.exe -xvf pixman-0.40.0.tar.gz -C third_party
tar -xvf pixman-0.40.0.tar.gz -C third_party
rm pixman-0.40.0.tar.gz

cd third_party/pixman-0.40.0
Expand Down

0 comments on commit ee9699c

Please sign in to comment.