Fix api export define error

This commit is contained in:
dijunkun
2023-11-29 22:02:45 -08:00
parent 3a1be00ca5
commit 079ceddae7
4 changed files with 7 additions and 5 deletions

View File

@@ -36,7 +36,7 @@ elseif is_os("macosx") then
add_requires("brew::libnice", "brew::glib")
add_requires("brew::openh264", {configs = {shared = false}})
add_packages("ffmpeg", "glib", "libnice")
add_ldflags("-ld_classic", {force = true})
add_ldflags("-Wl,-ld_classic")
end
target("log")