summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorTor Didriksen <tor.didriksen@oracle.com>2014-02-25 09:07:44 +0100
committerTor Didriksen <tor.didriksen@oracle.com>2014-02-25 09:07:44 +0100
commit3f2b13f979b3edc7d5c83060062aa5331273d918 (patch)
tree64e245beab2d1a32f26928cb556050849763b951 /cmake
parent6f027d9dfc152a0a3f5825ee1956a40d7b78b6b4 (diff)
downloadmariadb-git-3f2b13f979b3edc7d5c83060062aa5331273d918.tar.gz
Bug#18235669 MYSQL_CONFIG TO PROVIDE R FLAG ON SOLARIS
'mysql_config --libs' outputs -L/path/to/library on SunOS we also want it to output '-R/path/to/library' in order to find libraries at runtime. cmake/libutils.cmake: Add an informational message, to show dependencies on OS libraries.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/libutils.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/libutils.cmake b/cmake/libutils.cmake
index 89a9de9b322..cb29f189947 100644
--- a/cmake/libutils.cmake
+++ b/cmake/libutils.cmake
@@ -1,4 +1,4 @@
-# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2009, 2014, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -158,6 +158,7 @@ MACRO(MERGE_STATIC_LIBS TARGET OUTPUT_NAME LIBS_TO_MERGE)
IF(OSLIBS)
LIST(REMOVE_DUPLICATES OSLIBS)
TARGET_LINK_LIBRARIES(${TARGET} ${OSLIBS})
+ MESSAGE(STATUS "Library ${TARGET} depends on OSLIBS ${OSLIBS}")
ENDIF()
# Make the generated dummy source file depended on all static input