From 816856eb75bcf05bc3961eef2a52e3b8b1cd4efe Mon Sep 17 00:00:00 2001 From: raysan5 Date: Sun, 23 Aug 2020 21:01:10 +0200 Subject: [PATCH] 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). --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 4d5ba88a8..aa7bea1fc 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