mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-07-04 04:50:22 +00:00
Avoid miniaudio runtime linking on macOS
This commit is contained in:
parent
0ed9f924db
commit
3666f0763a
|
@ -12,6 +12,11 @@
|
|||
// Enable Ogg Vorbis decoding
|
||||
#define STB_VORBIS_HEADER_ONLY
|
||||
#include "extras/stb_vorbis.c"
|
||||
// Due to the way miniaudio links to macOS frameworks at runtime, the application may not pass Apple's notarization process :(
|
||||
// So, we will avoid runtime linking on macOS. See this discussion for more info: https://github.com/mackron/miniaudio/issues/203
|
||||
#ifdef __APPLE__
|
||||
# define MA_NO_RUNTIME_LINKING
|
||||
#endif
|
||||
// The main miniaudio header
|
||||
#define MINIAUDIO_IMPLEMENTATION
|
||||
#include "miniaudio.h"
|
||||
|
|
Loading…
Reference in a new issue