mirror of
https://github.com/MariaDB/server.git
synced 2026-04-22 08:15:31 +02:00
MDEV-22454
Disable IPO (interprocedural optimization, aka /GL) on Windows on libraries, from which server.dll exports symbols - exporting symbols does not work for objects compiled with /GL.
This commit is contained in:
parent
f544a712c8
commit
d50f776930
6 changed files with 22 additions and 3 deletions
|
|
@ -20,6 +20,7 @@ INCLUDE_DIRECTORIES(
|
|||
SET(DBUG_SOURCES dbug.c)
|
||||
ADD_CONVENIENCE_LIBRARY(dbug ${DBUG_SOURCES})
|
||||
TARGET_LINK_LIBRARIES(dbug mysys)
|
||||
MAYBE_DISABLE_IPO(dbug)
|
||||
|
||||
ADD_EXECUTABLE(tests tests.c)
|
||||
TARGET_LINK_LIBRARIES(tests dbug)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue