mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-07-12 21:35:13 +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
|
// Enable Ogg Vorbis decoding
|
||||||
#define STB_VORBIS_HEADER_ONLY
|
#define STB_VORBIS_HEADER_ONLY
|
||||||
#include "extras/stb_vorbis.c"
|
#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
|
// The main miniaudio header
|
||||||
#define MINIAUDIO_IMPLEMENTATION
|
#define MINIAUDIO_IMPLEMENTATION
|
||||||
#include "miniaudio.h"
|
#include "miniaudio.h"
|
||||||
|
|
Loading…
Reference in a new issue