Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use correct libraries when compiling statically (drogonframework#2136)
When compiling statically, cmake pulls shared libraries as dependencies for drogon e.g. libpq.so instead of libpq.a. This causes linkage errors when compiling the whole program. The flag USE_STATIC_LIBS_ONLY should set the CMAKE_FIND_LIBRARY_SUFFIXES to the appropriate suffix on different platforms, thus find_* commands find the right library.
- Loading branch information