You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

libevent.patch001 858 B

1234567891011121314151617
  1. diff -Npur libevent/CMakeLists.txt libevent-modify/CMakeLists.txt
  2. --- libevent/CMakeLists.txt 2020-07-05 20:02:46.000000000 +0800
  3. +++ libevent-modify/CMakeLists.txt 2021-04-19 16:36:57.982307500 +0800
  4. @@ -852,7 +852,7 @@ if (NOT EVENT__DISABLE_OPENSSL)
  5. list(APPEND SRC_OPENSSL bufferevent_openssl.c)
  6. list(APPEND HDR_PUBLIC include/event2/bufferevent_ssl.h)
  7. - list(APPEND LIB_APPS ${OPENSSL_LIBRARIES})
  8. + list(APPEND LIB_APPS ${OPENSSL_LIBRARIES} -ldl)
  9. endif()
  10. if (NOT EVENT__DISABLE_THREAD_SUPPORT)
  11. diff -Npur libevent/cmake/AddEventLibrary.cmake libevent-modify/cmake/AddEventLibrary.cmake
  12. --- libevent/cmake/AddEventLibrary.cmake 2020-07-05 20:02:46.000000000 +0800
  13. +++ libevent-modify/cmake/AddEventLibrary.cmake 2021-04-19 16:36:57.982307500 +0800
  14. @@ -153,1 +153,0 @@
  15. - INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/lib"