浏览代码

Support pthreads on PLATFORM_WEB compilation

pull/1330/head
raysan5 4 年前
父节点
当前提交
9c2ff464b0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/Makefile

+ 1
- 1
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

正在加载...
取消
保存