Some minimal changes
This commit is contained in:
parent
8a083180c1
commit
b68da43daf
@ -56,7 +56,7 @@ resolve_library(LIBRARY_PATH_JSON OFF "${LIBRARY_PATH}/jsoncpp/bui
|
|||||||
resolve_library(LIBRARY_PATH_ED255 OFF "${LIBRARY_PATH}/ed25519/build/libed25519.a")
|
resolve_library(LIBRARY_PATH_ED255 OFF "${LIBRARY_PATH}/ed25519/build/libed25519.a")
|
||||||
resolve_library(LIBRARY_PATH_DATA_PIPES OFF "${LIBRARY_PATH}/DataPipes/build/libDataPipes.so" "${LIBRARY_PATH}/DataPipes/cmake-build-release/libDataPipes.so" "${LIBRARY_PATH}/DataPipes/cmake-build-debug/libDataPipes.so")
|
resolve_library(LIBRARY_PATH_DATA_PIPES OFF "${LIBRARY_PATH}/DataPipes/build/libDataPipes.so" "${LIBRARY_PATH}/DataPipes/cmake-build-release/libDataPipes.so" "${LIBRARY_PATH}/DataPipes/cmake-build-debug/libDataPipes.so")
|
||||||
resolve_library(LIBRARY_PATH_OPUS OFF "${LIBRARY_PATH}/opus/build/.libs/libopus.a")
|
resolve_library(LIBRARY_PATH_OPUS OFF "${LIBRARY_PATH}/opus/build/.libs/libopus.a")
|
||||||
resolve_library(LIBRARY_PATH_NICE OFF "${LIBRARY_PATH}/libnice/linux_${BUILD_OS_ARCH}/lib/libnice.so.10")
|
resolve_library(LIBRARY_PATH_NICE OFF "${LIBRARY_PATH}/libnice/linux_${BUILD_OS_ARCH}/lib/libnice.a")
|
||||||
message("Found libnice at ${LIBRARY_PATH_NICE}")
|
message("Found libnice at ${LIBRARY_PATH_NICE}")
|
||||||
|
|
||||||
if (EXISTS "${LIBRARY_PATH}/glibc/linux_${BUILD_OS_ARCH}/lib/i386-linux-gnu/")
|
if (EXISTS "${LIBRARY_PATH}/glibc/linux_${BUILD_OS_ARCH}/lib/i386-linux-gnu/")
|
||||||
@ -67,7 +67,7 @@ else()
|
|||||||
message(FATAL_ERROR "Failed to find glibc")
|
message(FATAL_ERROR "Failed to find glibc")
|
||||||
endif ()
|
endif ()
|
||||||
message("Found GLIBC lib dir at ${GLIBC_LIB_DIR}")
|
message("Found GLIBC lib dir at ${GLIBC_LIB_DIR}")
|
||||||
#set(LIBRARY_PATH_GLIBC "${GLIBC_LIB_DIR}/libglib-2.0.a;${GLIBC_LIB_DIR}/libgobject-2.0.a;${GLIBC_LIB_DIR}/libffi.a")
|
set(LIBRARY_PATH_GLIBC "${GLIBC_LIB_DIR}/libgio-2.0.a;${GLIBC_LIB_DIR}/libgmodule-2.0.a;${GLIBC_LIB_DIR}/libglib-2.0.a;${GLIBC_LIB_DIR}/libgobject-2.0.a;${GLIBC_LIB_DIR}/libffi.a;resolv")
|
||||||
|
|
||||||
add_definitions(-DINET -DINET6)
|
add_definitions(-DINET -DINET6)
|
||||||
add_subdirectory(shared/)
|
add_subdirectory(shared/)
|
||||||
|
@ -38,6 +38,9 @@ set(COMPILE_WEB_CLIENT "ON")
|
|||||||
set(CMAKE_VERBOSE_MAKEFILE ON)
|
set(CMAKE_VERBOSE_MAKEFILE ON)
|
||||||
set(SERVER_SOURCE_FILES
|
set(SERVER_SOURCE_FILES
|
||||||
main.cpp
|
main.cpp
|
||||||
|
tomcryptTest.cpp
|
||||||
|
MySQLLibSSLFix.c
|
||||||
|
|
||||||
src/client/ConnectedClient.cpp
|
src/client/ConnectedClient.cpp
|
||||||
src/client/voice/PrecomputedPuzzles.cpp
|
src/client/voice/PrecomputedPuzzles.cpp
|
||||||
src/client/voice/VoiceClient.cpp
|
src/client/voice/VoiceClient.cpp
|
||||||
@ -87,8 +90,6 @@ set(SERVER_SOURCE_FILES
|
|||||||
src/manager/LetterManager.cpp
|
src/manager/LetterManager.cpp
|
||||||
src/manager/PermissionNameManager.cpp
|
src/manager/PermissionNameManager.cpp
|
||||||
|
|
||||||
tomcryptTest.cpp
|
|
||||||
|
|
||||||
src/pinteraction/ApplicationInteraction.cpp
|
src/pinteraction/ApplicationInteraction.cpp
|
||||||
src/ServerManagerSnapshot.cpp
|
src/ServerManagerSnapshot.cpp
|
||||||
src/ServerManagerSnapshotDeploy.cpp
|
src/ServerManagerSnapshotDeploy.cpp
|
||||||
@ -282,9 +283,11 @@ if(${COMPILE_WEB_CLIENT})
|
|||||||
find_package(UsrSCTP REQUIRED)
|
find_package(UsrSCTP REQUIRED)
|
||||||
target_link_libraries(TeaSpeakServer
|
target_link_libraries(TeaSpeakServer
|
||||||
${LIBRARY_PATH_DATA_PIPES}
|
${LIBRARY_PATH_DATA_PIPES}
|
||||||
|
${LIBRARY_PATH_NICE}
|
||||||
|
${LIBRARY_PATH_GLIBC}
|
||||||
)
|
)
|
||||||
|
|
||||||
target_link_options(TeaSpeakServer PUBLIC "-Wl,--no-as-needed" "${LIBRARY_PATH_DATA_PIPES}" "${LIBRARY_PATH_NICE}" "-Wl,--as-needed")
|
#target_link_options(TeaSpeakServer PUBLIC "-Wl,--no-as-needed" "${LIBRARY_PATH_DATA_PIPES}" "${LIBRARY_PATH_NICE}" "-Wl,--as-needed")
|
||||||
endif()
|
endif()
|
||||||
include_directories(${LIBRARY_PATH}/boringssl/include/)
|
include_directories(${LIBRARY_PATH}/boringssl/include/)
|
||||||
target_link_libraries(TeaSpeakServer
|
target_link_libraries(TeaSpeakServer
|
||||||
@ -297,7 +300,7 @@ target_link_libraries(TeaSpeakServer
|
|||||||
set(DISABLE_JEMALLOC ON)
|
set(DISABLE_JEMALLOC ON)
|
||||||
if(NOT DISABLE_JEMALLOC)
|
if(NOT DISABLE_JEMALLOC)
|
||||||
target_link_libraries(TeaSpeakServer
|
target_link_libraries(TeaSpeakServer
|
||||||
jemalloc
|
jemalloc
|
||||||
)
|
)
|
||||||
add_definitions(-DHAVE_JEMALLOC)
|
add_definitions(-DHAVE_JEMALLOC)
|
||||||
endif()
|
endif()
|
||||||
|
21
server/MySQLLibSSLFix.c
Normal file
21
server/MySQLLibSSLFix.c
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
#include <openssl/aes.h>
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
const EVP_CIPHER *EVP_aes_128_cfb1(void){ return 0; }
|
||||||
|
const EVP_CIPHER *EVP_aes_192_cfb1(void){ return 0; }
|
||||||
|
const EVP_CIPHER *EVP_aes_256_cfb1(void){ return 0; }
|
||||||
|
|
||||||
|
const EVP_CIPHER *EVP_aes_128_cfb8(void){ return 0; }
|
||||||
|
const EVP_CIPHER *EVP_aes_192_cfb8(void){ return 0; }
|
||||||
|
const EVP_CIPHER *EVP_aes_256_cfb8(void){ return 0; }
|
||||||
|
|
||||||
|
const EVP_CIPHER *EVP_aes_128_cfb128(void){ return 0; }
|
||||||
|
const EVP_CIPHER *EVP_aes_192_cfb128(void){ return 0; }
|
||||||
|
const EVP_CIPHER *EVP_aes_256_cfb128(void){ return 0; }
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
};
|
||||||
|
#endif
|
Loading…
Reference in New Issue
Block a user