commit 487dc9410e2df53abfcda859d33bbaf1ce7e4976 parent 0378bdacee6cd42cd84c70a37bb33b97741d6e95 Author: Michael Savage <mikejsavage@gmail.com> Date: Sun Jun 25 15:48:44 +0300 Fix OSX build take four Diffstat:
make.lua | | | 5 | ++++- |
diff --git a/make.lua b/make.lua @@ -15,7 +15,7 @@ end local game_ldflags = "-lX11 -lXrandr -lXinerama -lXcursor" if OS == "macos" then - game_ldflags = "-framework Cocoa -framework CoreAudio -framework CoreVideo -framework IOKit" + game_ldflags = "-framework Cocoa -framework CoreVideo -framework IOKit" end bin( "medfall", { "main", "hm", "heightmap", "terrain_manager", "btt", "gpubtt", "skybox", "http", game_objs }, { "lz4", game_libs } ) @@ -53,6 +53,9 @@ gcc_bin_ldflags( "sm", game_ldflags ) bin( "sound", { "audio", "mixer", "wave", "platform_audio_output", common_objs } ) msvc_bin_ldflags( "sound", "ole32.lib" ) +if OS == "macos" then + bin_ldflags( "sound", "-framework AudioUnit" ) +end bin( "pp", { "pp", "heightmap", common_objs }, { "lz4", "squish", "stb_image" } )