forked from huawei/mindspore2022
18 lines
858 B
Plaintext
18 lines
858 B
Plaintext
diff -Npur libevent/CMakeLists.txt libevent-modify/CMakeLists.txt
|
|
--- libevent/CMakeLists.txt 2020-07-05 20:02:46.000000000 +0800
|
|
+++ libevent-modify/CMakeLists.txt 2021-04-19 16:36:57.982307500 +0800
|
|
@@ -852,7 +852,7 @@ if (NOT EVENT__DISABLE_OPENSSL)
|
|
|
|
list(APPEND SRC_OPENSSL bufferevent_openssl.c)
|
|
list(APPEND HDR_PUBLIC include/event2/bufferevent_ssl.h)
|
|
- list(APPEND LIB_APPS ${OPENSSL_LIBRARIES})
|
|
+ list(APPEND LIB_APPS ${OPENSSL_LIBRARIES} -ldl)
|
|
endif()
|
|
|
|
if (NOT EVENT__DISABLE_THREAD_SUPPORT)
|
|
diff -Npur libevent/cmake/AddEventLibrary.cmake libevent-modify/cmake/AddEventLibrary.cmake
|
|
--- libevent/cmake/AddEventLibrary.cmake 2020-07-05 20:02:46.000000000 +0800
|
|
+++ libevent-modify/cmake/AddEventLibrary.cmake 2021-04-19 16:36:57.982307500 +0800
|
|
@@ -153,1 +153,0 @@
|
|
- INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/lib"
|