diff options
author | Tor Didriksen <tor.didriksen@oracle.com> | 2014-02-25 09:07:44 +0100 |
---|---|---|
committer | Tor Didriksen <tor.didriksen@oracle.com> | 2014-02-25 09:07:44 +0100 |
commit | bec1ce66447ad659a579fb75ec791a457710ca50 (patch) | |
tree | 64e245beab2d1a32f26928cb556050849763b951 /cmake | |
parent | d18f67bbab25cb15b0ca2b91693a7e134ac0cbb4 (diff) | |
download | mariadb-git-bec1ce66447ad659a579fb75ec791a457710ca50.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.
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/libutils.cmake | 3 |
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 |