diff options
Diffstat (limited to 'contrib/cmake/BuildLibEvent.cmake')
-rw-r--r-- | contrib/cmake/BuildLibEvent.cmake | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/contrib/cmake/BuildLibEvent.cmake b/contrib/cmake/BuildLibEvent.cmake index d9bfa5d..98ea99e 100644 --- a/contrib/cmake/BuildLibEvent.cmake +++ b/contrib/cmake/BuildLibEvent.cmake @@ -9,10 +9,7 @@ if (UNIX) BUILD_IN_SOURCE 0 PREFIX ${CMAKE_BINARY_DIR}/deps/libevent CONFIGURE_COMMAND - "<SOURCE_DIR>/configure" - "--enable-static" - "--disable-openssl" - "--prefix=<INSTALL_DIR>" + CFLAGS=-fPIC <SOURCE_DIR>/configure --enable-static --enable-shared --disable-openssl --prefix=<INSTALL_DIR> ) elseif (WIN32) |