mirror of
https://github.com/raysan5/raylib.git
synced 2025-10-09 03:16:27 +00:00
Support pthreads on PLATFORM_WEB compilation
This commit is contained in:
@@ -322,7 +322,7 @@ ifeq ($(PLATFORM),PLATFORM_WEB)
|
|||||||
# --profiling # include information for code profiling
|
# --profiling # include information for code profiling
|
||||||
# --memory-init-file 0 # to avoid an external memory initialization code file (.mem)
|
# --memory-init-file 0 # to avoid an external memory initialization code file (.mem)
|
||||||
# --preload-file resources # specify a resources folder for data compilation
|
# --preload-file resources # specify a resources folder for data compilation
|
||||||
CFLAGS += -s USE_GLFW=3
|
CFLAGS += -s USE_GLFW=3 -s USE_PTHREADS=1
|
||||||
endif
|
endif
|
||||||
ifeq ($(PLATFORM),PLATFORM_ANDROID)
|
ifeq ($(PLATFORM),PLATFORM_ANDROID)
|
||||||
# Compiler flags for arquitecture
|
# Compiler flags for arquitecture
|
||||||
|
Reference in New Issue
Block a user