diff options
author | Vladislav Vaintroub <wlad@montyprogram.com> | 2011-12-26 15:24:54 +0100 |
---|---|---|
committer | Vladislav Vaintroub <wlad@montyprogram.com> | 2011-12-26 15:24:54 +0100 |
commit | 8e6cfaf736de92429e5fcc3977529ec2311442c5 (patch) | |
tree | 8f2e5cc9c10f723477430d60a16e835b197dc0cb /libservices | |
parent | b43ee49b4e8674102669ac841f29f66283d193d5 (diff) | |
download | mariadb-git-8e6cfaf736de92429e5fcc3977529ec2311442c5.tar.gz |
use ADD_CONVENIENCE_LIBRARY when building libservices, because
it is a static library that links with shared libraries, so strictly speaking it should
have -fPIC or equivalent flags. Also, it must always build as static no matter
whether BUILD_SHARED_LIBS is set.
Diffstat (limited to 'libservices')
-rw-r--r-- | libservices/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libservices/CMakeLists.txt b/libservices/CMakeLists.txt index a2189de370a..ee6a7c73abe 100644 --- a/libservices/CMakeLists.txt +++ b/libservices/CMakeLists.txt @@ -22,5 +22,5 @@ SET(MYSQLSERVICES_SOURCES my_thread_scheduler_service.c progress_report_service.c) -ADD_LIBRARY(mysqlservices ${MYSQLSERVICES_SOURCES}) +ADD_CONVENIENCE_LIBRARY(mysqlservices ${MYSQLSERVICES_SOURCES}) INSTALL(TARGETS mysqlservices DESTINATION ${INSTALL_LIBDIR} COMPONENT Development) |