mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Fix #1325
This commit is contained in:
parent
a95032b633
commit
e8bd8459a6
|
@ -1506,6 +1506,10 @@ foreach(target ${TARGETS_LINK})
|
|||
if(TARGET_OS STREQUAL "mac")
|
||||
target_link_libraries(${target} -stdlib=libc++)
|
||||
target_link_libraries(${target} -mmacosx-version-min=10.7)
|
||||
# Fixes: Undefined symbols for architecture x86_64:
|
||||
# "___isOSVersionAtLeast", referenced from:
|
||||
# _singleipconnect in libcurl.a(libcurl_la-connect.o)
|
||||
target_link_libraries(${target} -Wl,-undefined -Wl,dynamic_lookup)
|
||||
endif()
|
||||
if((MINGW OR TARGET_OS STREQUAL "linux") AND PREFER_BUNDLED_LIBS)
|
||||
# Statically link the standard libraries with on MinGW/Linux so we don't
|
||||
|
|
Loading…
Reference in a new issue