fix example build on macos (#1022)

This commit is contained in:
Richard Smith 2019-11-24 12:41:23 +00:00 committed by Ray
parent 1d3f230c92
commit f987ac9dca

View File

@ -321,7 +321,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
ifeq ($(PLATFORM_OS),OSX)
# Libraries for OSX 10.9 desktop compiling
# NOTE: Required packages: libopenal-dev libegl1-mesa-dev
LDLIBS = -lraylib -framework OpenGL -framework OpenAL -framework Cocoa
LDLIBS = -lraylib -framework OpenGL -framework OpenAL -framework Cocoa -framework CoreVideo -framework IOKit
endif
ifeq ($(PLATFORM_OS),BSD)
# Libraries for FreeBSD, OpenBSD, NetBSD, DragonFly desktop compiling