mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
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.
This commit is contained in:
parent
b43ee49b4e
commit
8e6cfaf736
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue