mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
fix build error on macos
This commit is contained in:
parent
9706d9a0f0
commit
eb6b602095
|
@ -184,7 +184,11 @@ if(ASAN)
|
|||
else()
|
||||
# Forbid undefined symbols in shared libraries. This is incompatible with
|
||||
# asan, so it's in the else branch here.
|
||||
add_dllflag("-Wl,-z,defs")
|
||||
if(APPLE)
|
||||
add_dllflag("-undefined error")
|
||||
else()
|
||||
add_dllflag("-Wl,-z,defs")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
option(USE_IPV6 "Use IPv6 in tests" ON)
|
||||
|
|
Loading…
Reference in New Issue
Block a user