You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.
While trying to build the libevhtp shared libraries, I discovered that the widely-documented (e.g. by Seafile) cmake flag EVHTP_BUILD_SHARED does not work anymore. Examining the CMakeLists.txt, I discovered that the flag BUILD_SHARED_LIBS has to be used.
There are two problems with that change:
This change has been done silently and isn't mentioned in the changelog.
Details
While trying to build the libevhtp shared libraries, I discovered that the widely-documented (e.g. by Seafile) cmake flag
EVHTP_BUILD_SHARED
does not work anymore. Examining the CMakeLists.txt, I discovered that the flagBUILD_SHARED_LIBS
has to be used.There are two problems with that change:
EVHTP_BUILD_SHARED
instead ofBUILD_SHARED_LIBS
.Thus I conclude that the flag change has been done accidentally.
Steps or code to reproduce the problem.
Build libevhtp with 2 different configuration variants and examine whether shared library files have been created:
variant 1:
cmake -DEVHTP_BUILD_SHARED=ON .
result: shared library not build
variant 2:
cmake -DBUILD_SHARED_LIBS=ON .
result: shared library is built
The text was updated successfully, but these errors were encountered: