diff --git a/lib_utils.py b/lib_utils.py index 75d0f7e..9b806fd 100644 --- a/lib_utils.py +++ b/lib_utils.py @@ -56,7 +56,7 @@ def setup_defines_and_flags(env, src_out): CPPPATH="opus/include" ) - if env["platform"] == "linux" or env["platform"] == "android" or env["platform"] == "ios" or env["platform"] == "macos" or env["platform"] == "web": + if env["platform"] == "linux" or env["platform"] == "android" or env["platform"] == "ios" or env["platform"] == "web": env.Append( LINKFLAGS=[ "-static-libgcc", @@ -65,7 +65,7 @@ def setup_defines_and_flags(env, src_out): LIBS=["opus"], LIBPATH=["opus/build"], ) - if env["platform"] == "windows": + if env["platform"] == "windows" or env["platform"] == "macos": env.Append( LIBS=["opus"], LIBPATH=["opus/build"],