mirror of
https://github.com/MariaDB/server.git
synced 2025-12-28 08:10:14 +00:00
Fix of ppc64 by Wlad
This commit is contained in:
parent
e7701f8db2
commit
4f143a88bc
@ -166,7 +166,7 @@ MACRO(MERGE_STATIC_LIBS TARGET OUTPUT_NAME LIBS_TO_MERGE)
|
||||
ENDFOREACH()
|
||||
IF(OSLIBS)
|
||||
LIST(REMOVE_DUPLICATES OSLIBS)
|
||||
TARGET_LINK_LIBRARIES(${TARGET} ${OSLIBS})
|
||||
TARGET_LINK_LIBRARIES(${TARGET} LINK_PRIVATE ${OSLIBS})
|
||||
ENDIF()
|
||||
|
||||
# Make the generated dummy source file depended on all static input
|
||||
|
||||
@ -446,9 +446,9 @@ IF(NOT DISABLE_SHARED)
|
||||
# Clean direct output flags, as 2 targets have the same base name
|
||||
# libmysqld
|
||||
SET_TARGET_PROPERTIES(libmysqld PROPERTIES CLEAN_DIRECT_OUTPUT 1)
|
||||
TARGET_LINK_LIBRARIES(libmysqld ${CRC32_LIBRARY})
|
||||
TARGET_LINK_LIBRARIES(libmysqld LINK_PRIVATE ${CRC32_LIBRARY})
|
||||
SET_TARGET_PROPERTIES(mysqlserver PROPERTIES CLEAN_DIRECT_OUTPUT 1)
|
||||
TARGET_LINK_LIBRARIES(mysqlserver ${CRC32_LIBRARY})
|
||||
TARGET_LINK_LIBRARIES(mysqlserver LINK_PRIVATE ${CRC32_LIBRARY})
|
||||
IF(LIBMYSQLD_SO_EXTRA_LIBS)
|
||||
TARGET_LINK_LIBRARIES(libmysqld ${LIBMYSQLD_SO_EXTRA_LIBS})
|
||||
ENDIF()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user