mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-05 14:09:53 +03:00
package/*: rename patches according to the new policy
Autogenerated from rename-patch.py (http://patchwork.ozlabs.org/patch/403345) Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
23
package/cppdb/0001-mysql-library-suffix.patch
Normal file
23
package/cppdb/0001-mysql-library-suffix.patch
Normal file
@@ -0,0 +1,23 @@
|
||||
Add mysql/ to PATH_SUFFIXES for the library search for mysql.
|
||||
|
||||
On common distros libmysqlclient* is installed and/or symlinked
|
||||
into /usr/lib.
|
||||
Since we install the libraries into /usr/lib/mysql alone cppdb
|
||||
fails to properly link to it giving runtime errors.
|
||||
|
||||
Status: https://sourceforge.net/p/cppcms/bugs/135/
|
||||
|
||||
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
||||
|
||||
diff -Nura cppdb-0.3.1.orig/CMakeLists.txt cppdb-0.3.1/CMakeLists.txt
|
||||
--- cppdb-0.3.1.orig/CMakeLists.txt 2014-10-17 11:05:57.875429748 -0300
|
||||
+++ cppdb-0.3.1/CMakeLists.txt 2014-10-17 11:12:57.486775484 -0300
|
||||
@@ -196,7 +196,7 @@
|
||||
endif()
|
||||
|
||||
if(NOT DISABLE_MYSQL)
|
||||
- find_library(MYSQL_LIB mysqlclient)
|
||||
+ find_library(MYSQL_LIB mysqlclient PATH_SUFFIXES mysql)
|
||||
find_path(MYSQL_PATH mysql.h PATH_SUFFIXES mysql)
|
||||
if(MYSQL_LIB AND MYSQL_PATH)
|
||||
include_directories(${MYSQL_PATH})
|
||||
Reference in New Issue
Block a user