fix build on macos
This commit is contained in:
2
Makefile
2
Makefile
@@ -20,7 +20,7 @@ INCLUDES := -I$(RAYLIB_SRC) -I$(RAYGUI_SRC) -I$(RAYTMX_SRC) -I$(RAYTMX_SRC)/exte
|
|||||||
UNAME_S := $(shell uname -s)
|
UNAME_S := $(shell uname -s)
|
||||||
ifeq ($(UNAME_S),Darwin)
|
ifeq ($(UNAME_S),Darwin)
|
||||||
RAYLIB_LIBS := -framework OpenGL -framework Cocoa -framework IOKit \
|
RAYLIB_LIBS := -framework OpenGL -framework Cocoa -framework IOKit \
|
||||||
-framework CoreAudio -framework CoreVideo
|
-framework CoreAudio -framework CoreVideo -framework QuartzCore
|
||||||
else
|
else
|
||||||
RAYLIB_LIBS := -lGL -lm -lpthread -ldl -lrt -lX11
|
RAYLIB_LIBS := -lGL -lm -lpthread -ldl -lrt -lX11
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user