summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorVladislav Vaintroub <vvaintroub@mysql.com>2010-01-25 02:52:32 +0100
committerVladislav Vaintroub <vvaintroub@mysql.com>2010-01-25 02:52:32 +0100
commit135c25d1655217e42869096465e1c857ee3ed6ea (patch)
treeb81e8a1a188f0bc6683d2889e5b2c374eeee05c7 /cmake
parent4fe79c7d58549b7490f51c7273440234a0f6b5be (diff)
downloadmariadb-git-135c25d1655217e42869096465e1c857ee3ed6ea.tar.gz
Fix smaller stuff: disable transitive linking for MERGE_LIBRARIES results,
compile embedded with PIC to allow linking with shared libraries
Diffstat (limited to 'cmake')
-rw-r--r--cmake/libutils.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/libutils.cmake b/cmake/libutils.cmake
index 677504f89af..f20e21b8f86 100644
--- a/cmake/libutils.cmake
+++ b/cmake/libutils.cmake
@@ -259,6 +259,7 @@ MACRO(MERGE_LIBRARIES)
IF(NOT ARG_NOINSTALL)
MYSQL_INSTALL_TARGETS(${TARGET} DESTINATION "${INSTALL_LIBDIR}")
ENDIF()
+ SET_TARGET_PROPERTIES(${TARGET} PROPERTIES LINK_INTERFACE_LIBRARIES "")
ENDMACRO()
FUNCTION(GET_DEPENDEND_OS_LIBS target result)