From 1f78b7979d25dc4bfdcc16eb96cb3e899760d999 Mon Sep 17 00:00:00 2001 From: Milan Nikolic Date: Sun, 12 Nov 2017 15:15:25 +0100 Subject: [PATCH] Add macOS library names --- mini_al.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mini_al.h b/mini_al.h index 42e3e15c..2008caee 100644 --- a/mini_al.h +++ b/mini_al.h @@ -7432,7 +7432,7 @@ mal_result mal_context_init__openal(mal_context* pContext) libName = "libopenal.so"; #endif #ifdef MAL_APPLE - // I don't own a Mac so a contribution here would be much appreciated! Just don't know what the library is called... + libName = "OpenAL.framework/OpenAL"; #endif if (libName == NULL) { return MAL_NO_BACKEND; // Don't know what the library name is called. @@ -8314,7 +8314,8 @@ mal_result mal_context_init_backend_apis__nix(mal_context* pContext) // pthread const char* libpthreadFileNames[] = { "libpthread.so", - "libpthread.so.0" + "libpthread.so.0", + "libpthread.dylib" }; for (size_t i = 0; i < sizeof(libpthreadFileNames) / sizeof(libpthreadFileNames[0]); ++i) {