summaryrefslogtreecommitdiffhomepage
path: root/src/Makefile
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2020-08-23 21:01:10 +0200
committerraysan5 <[email protected]>2020-08-23 21:01:10 +0200
commit816856eb75bcf05bc3961eef2a52e3b8b1cd4efe (patch)
tree32fe1eeda6fdd5e670a0864cace23c3a79d6635f /src/Makefile
parentc101f916fa81bfc888fcd9ea10b0f4a9947733d7 (diff)
downloadraylib-816856eb75bcf05bc3961eef2a52e3b8b1cd4efe.tar.gz
raylib-816856eb75bcf05bc3961eef2a52e3b8b1cd4efe.zip
Corrected compiling issue
When using USE_PTHREADS=1 on libraylib.bc compilation, program requires --shared-memory passed to the linker and despite it compiles, it fails on execution (at least for me).
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 4d5ba88a..aa7bea1f 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -321,7 +321,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 -s USE_PTHREADS=1
+ CFLAGS += -s USE_GLFW=3
endif
ifeq ($(PLATFORM),PLATFORM_ANDROID)
# Compiler flags for arquitecture