[Commits] Rev 3211: Force bundled readline/libedit build as static library. in file:///H:/bzr/5.5/

Vladislav Vaintroub wlad at montyprogram.com
Mon Jan 9 22:21:20 EET 2012


At file:///H:/bzr/5.5/

------------------------------------------------------------
revno: 3211
revision-id: wlad at montyprogram.com-20120109201534-pwebre388ju5yf3h
parent: wlad at montyprogram.com-20120109201209-mxdsu9jppe7ozlmy
committer: Vladislav Vaintroub <wlad at montyprogram.com>
branch nick: 5.5
timestamp: Mon 2012-01-09 21:15:34 +0100
message:
  Force bundled readline/libedit build as static library. 
  Packagers may attempt to outsmart MariaDB/MySQL build system -DBUILD_SHARED_LIBS=1, we need to minimize the damage of such attempts.
-------------- next part --------------
=== modified file 'cmd-line-utils/libedit/CMakeLists.txt'
--- a/cmd-line-utils/libedit/CMakeLists.txt	2010-11-27 01:51:14 +0000
+++ b/cmd-line-utils/libedit/CMakeLists.txt	2012-01-09 20:15:34 +0000
@@ -177,6 +177,6 @@
   ${AHDR} 
   ${LIBEDIT_EXTRA_SOURCES}
 )
-ADD_LIBRARY(edit ${LIBEDIT_SOURCES})
+ADD_LIBRARY(edit STATIC ${LIBEDIT_SOURCES})
 TARGET_LINK_LIBRARIES(edit ${CURSES_LIBRARY})
 

=== modified file 'cmd-line-utils/readline/CMakeLists.txt'
--- a/cmd-line-utils/readline/CMakeLists.txt	2011-06-30 15:46:53 +0000
+++ b/cmd-line-utils/readline/CMakeLists.txt	2012-01-09 20:15:34 +0000
@@ -20,7 +20,7 @@
 
 INCLUDE_DIRECTORIES(${CURSES_INCLUDE_PATH})
 
-ADD_LIBRARY(readline
+ADD_LIBRARY(readline STATIC
   readline.c 
   funmap.c 
   keymaps.c



More information about the commits mailing list