mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
1925: Don't bundle libcurl for Linux r=Learath2 a=heinrich5991 It's installed basically everywhere and just increases release size. They're serious about backward compatibility and haven't had a breaking change in ages. 1929: Remove space at end of cfg description r=Learath2 a=ChillerDragon Happy hacktoberfest :octocat: Co-authored-by: heinrich5991 <heinrich5991@gmail.com> Co-authored-by: ChillerDragon <chillerdragon@gmail.com>
This commit is contained in:
commit
e7ea336a94
|
@ -26,25 +26,6 @@ if(CURL_FOUND)
|
|||
is_bundled(CURL_BUNDLED "${CURL_LIBRARY}")
|
||||
set(CURL_LIBRARIES ${CURL_LIBRARY})
|
||||
set(CURL_INCLUDE_DIRS ${CURL_INCLUDEDIR})
|
||||
if(CURL_BUNDLED AND TARGET_OS STREQUAL "linux")
|
||||
find_library(CURL_LIBRARY_SSL
|
||||
NAMES ssl
|
||||
HINTS ${EXTRA_CURL_LIBDIR}
|
||||
)
|
||||
find_library(CURL_LIBRARY_CRYPTO
|
||||
NAMES crypto
|
||||
HINTS ${EXTRA_CURL_LIBDIR}
|
||||
)
|
||||
# If we don't add `dl`, we get a missing reference to `dlclose`:
|
||||
# ```
|
||||
# /usr/bin/ld: ../ddnet-libs/curl/linux/lib64/libcrypto.a(dso_dlfcn.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
|
||||
# ```
|
||||
#
|
||||
# Order matters, SSL needs to be linked before CRYPTO, otherwise we also get
|
||||
# undefined symbols.
|
||||
list(APPEND CURL_LIBRARIES ${CURL_LIBRARY_SSL} ${CURL_LIBRARY_CRYPTO} dl)
|
||||
endif()
|
||||
|
||||
if(CURL_BUNDLED AND TARGET_OS STREQUAL "windows")
|
||||
set(CURL_COPY_FILES
|
||||
"${EXTRA_CURL_LIBDIR}/libcurl.dll"
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 5ea046d7e709e56bb4bbfef69681cb1b57e304e0
|
||||
Subproject commit 88acfd44263b6e6c1fcfa1d8e67c224481c2297d
|
|
@ -273,7 +273,7 @@ MACRO_CONFIG_INT(ClRaceGhost, cl_race_ghost, 1, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAV
|
|||
MACRO_CONFIG_INT(ClRaceGhostServerControl, cl_race_ghost_server_control, 1, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Let the server start the ghost")
|
||||
MACRO_CONFIG_INT(ClRaceShowGhost, cl_race_show_ghost, 1, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Show ghost")
|
||||
MACRO_CONFIG_INT(ClRaceSaveGhost, cl_race_save_ghost, 1, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Save ghost")
|
||||
MACRO_CONFIG_INT(ClDDRaceScoreBoard, cl_ddrace_scoreboard, 1, 0, 1, CFGFLAG_SAVE|CFGFLAG_CLIENT, "Enable DDRace Scoreboard ")
|
||||
MACRO_CONFIG_INT(ClDDRaceScoreBoard, cl_ddrace_scoreboard, 1, 0, 1, CFGFLAG_SAVE|CFGFLAG_CLIENT, "Enable DDRace Scoreboard")
|
||||
MACRO_CONFIG_INT(ClShowDecisecs, cl_show_decisecs, 1, 0, 1, CFGFLAG_SAVE|CFGFLAG_CLIENT, "Show deciseconds in game time")
|
||||
MACRO_CONFIG_INT(SvResetPickups, sv_reset_pickups, 0, 0, 1, CFGFLAG_SERVER|CFGFLAG_GAME, "Whether the weapons are reset on passing the start tile or not")
|
||||
MACRO_CONFIG_INT(ClShowOthers, cl_show_others, 0, 0, 1, CFGFLAG_CLIENT|CFGFLAG_SAVE, "Show players in other teams")
|
||||
|
|
Loading…
Reference in a new issue