diff options
| author | raysan5 <raysan5@gmail.com> | 2019-11-24 13:43:48 +0100 |
|---|---|---|
| committer | raysan5 <raysan5@gmail.com> | 2019-11-24 13:43:48 +0100 |
| commit | c1a02e9fcaa9c6e059475aad54c3c9158c4412a5 (patch) | |
| tree | 2b791e9b7a4c42d73e6d2ef78bca9ec0ea33d2bc | |
| parent | f987ac9dca345a63ff6356b44e3b456016f0adb6 (diff) | |
| download | raylib-c1a02e9fcaa9c6e059475aad54c3c9158c4412a5.tar.gz raylib-c1a02e9fcaa9c6e059475aad54c3c9158c4412a5.zip | |
Review PR #1022
Actually OpenAL is not used any more, it should be using CoreAudio
| -rw-r--r-- | examples/Makefile | 2 | ||||
| -rw-r--r-- | src/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/Makefile b/examples/Makefile index 02ea9e4c..a6790613 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -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 -framework CoreVideo -framework IOKit + LDLIBS = -lraylib -framework OpenGL -framework Cocoa -framework IOKit -framework CoreAudio -framework CoreVideo endif ifeq ($(PLATFORM_OS),BSD) # Libraries for FreeBSD, OpenBSD, NetBSD, DragonFly desktop compiling diff --git a/src/Makefile b/src/Makefile index e7db7d98..4b32c4c5 100644 --- a/src/Makefile +++ b/src/Makefile @@ -496,7 +496,7 @@ else cd $(RAYLIB_RELEASE_PATH) && ln -fsv libraylib.so.$(RAYLIB_API_VERSION) libraylib.so endif ifeq ($(PLATFORM_OS),OSX) - $(CC) -dynamiclib -o $(RAYLIB_RELEASE_PATH)/libraylib.$(RAYLIB_VERSION).dylib $(OBJS) -compatibility_version $(RAYLIB_API_VERSION) -current_version $(RAYLIB_VERSION) -framework OpenGL -framework OpenAL -framework IOKit -framework CoreVideo -framework Cocoa + $(CC) -dynamiclib -o $(RAYLIB_RELEASE_PATH)/libraylib.$(RAYLIB_VERSION).dylib $(OBJS) -compatibility_version $(RAYLIB_API_VERSION) -current_version $(RAYLIB_VERSION) -framework OpenGL -framework Cocoa -framework IOKit -framework CoreAudio -framework CoreVideo install_name_tool -id "libraylib.$(VERSION).dylib" $(RAYLIB_RELEASE_PATH)/libraylib.$(RAYLIB_VERSION).dylib @echo "raylib shared library generated (libraylib.$(RAYLIB_VERSION).dylib)!" cd $(RAYLIB_RELEASE_PATH) && ln -fs libraylib.$(RAYLIB_VERSION).dylib libraylib.$(RAYLIB_API_VERSION).dylib |
