From eddb5368504237fc78127fcde69011de71179fef Mon Sep 17 00:00:00 2001 From: mckaygerhard Date: Thu, 5 Jan 2023 16:07:25 -0400 Subject: [PATCH] remove rtmp due fails in some linuxes due extra package need * related to minenux/minetest-engine#13 * backported from commit 3eabd6eba350443ae724f54e65a1a4caee7c5f9f --- src/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 521b8876c..8936c3236 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -604,6 +604,7 @@ if(BUILD_CLIENT) ${PNG_LIBRARIES} ${X11_LIBRARIES} ${GETTEXT_LIBRARY} + ${Intl_LIBRARIES} ${SOUND_LIBRARIES} ${SQLITE3_LIBRARY} ${LUA_LIBRARY} @@ -669,6 +670,7 @@ if(BUILD_SERVER) ${SQLITE3_LIBRARY} ${JSON_LIBRARY} ${GETTEXT_LIBRARY} + ${Intl_LIBRARIES} ${LUA_LIBRARY} ${GMP_LIBRARY} ${PLATFORM_LIBS} @@ -827,7 +829,7 @@ else() if(MINGW) set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -mwindows") endif() - SET( CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -lidn -lrtmp -lcom_err -llber -lz -lrt" ) + SET( CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -lidn" ) endif()