summaryrefslogtreecommitdiffhomepage
path: root/src/Makefile
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2020-07-28 20:36:10 +0200
committerraysan5 <[email protected]>2020-07-28 20:36:10 +0200
commit9c2ff464b025820b3dfe8d051b2fdb3b8a89a16a (patch)
treeb0ae34ccd19de4fee64ff0394a99d2bacd18164d /src/Makefile
parent20301d1e5d4951c6c43b1550f1506f19422b5a4c (diff)
downloadraylib-9c2ff464b025820b3dfe8d051b2fdb3b8a89a16a.tar.gz
raylib-9c2ff464b025820b3dfe8d051b2fdb3b8a89a16a.zip
Support pthreads on PLATFORM_WEB compilation
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 79394d19..db94298a 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -322,7 +322,7 @@ ifeq ($(PLATFORM),PLATFORM_WEB)
# --profiling # include information for code profiling
# --memory-init-file 0 # to avoid an external memory initialization code file (.mem)
# --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
ifeq ($(PLATFORM),PLATFORM_ANDROID)
# Compiler flags for arquitecture