diff options
| author | lijia <[email protected]> | 2021-09-15 17:54:41 +0800 |
|---|---|---|
| committer | lijia <[email protected]> | 2021-09-15 17:54:41 +0800 |
| commit | a2c7c57d258c6af4648021f24377f305631a769c (patch) | |
| tree | c92e1db05b7ae8e4617c704bcf138fdb68cfb92b /vendor | |
| parent | 4da540621d79e0779b99181549c1c4d2b30f73d5 (diff) | |
TSG-7787, 修复under ddos情况下, 没有设置stream->pdetail指针, 导致的coredump BUG.v4.2.53
Diffstat (limited to 'vendor')
| -rw-r--r-- | vendor/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/CMakeLists.txt b/vendor/CMakeLists.txt index 04e02ff..4b5f8a2 100644 --- a/vendor/CMakeLists.txt +++ b/vendor/CMakeLists.txt @@ -18,7 +18,7 @@ include(ExternalProject) ExternalProject_Add(libevent PREFIX libevent URL ${CMAKE_CURRENT_SOURCE_DIR}/libevent-2.1.10-stable.tar.gz URL_MD5 999caf86f52943af2363bc8077f00167 - CONFIGURE_COMMAND ./configure --prefix=<INSTALL_DIR> --disable-shared --disable-samples --disable-openssl + CONFIGURE_COMMAND ./configure --prefix=<INSTALL_DIR> --enable-shared CFLAGS=-fPIC --disable-samples --disable-openssl BUILD_COMMAND make LDFLAGS="-ldl" BUILD_IN_SOURCE 1) |
