Describe the bug
在macos上编译动态库,
target("example")
set_kind(shared)
add_shflags("-bundle -undefined dynamic_lookup",{force=true})
编译时提示 -bundle not allowed "dynamiclib"
Expected behavior
在最后连接的时候 cc -o -bundle -undefined dynamic_lookup,而不是cc -o -shared
Describe the bug
在macos上编译动态库,
target("example")
set_kind(shared)
add_shflags("-bundle -undefined dynamic_lookup",{force=true})
编译时提示 -bundle not allowed "dynamiclib"
Expected behavior
在最后连接的时候 cc -o -bundle -undefined dynamic_lookup,而不是cc -o -shared