mydumper/debian/patches/0004-add-library-suffix-for-libatomic.patch
2017-03-24 11:42:14 +01:00

22 lines
698 B
Diff

From: Mateusz Kijowski <mateusz@kijowski.info>
Date: Tue, 17 Jan 2017 12:57:43 +0100
Subject: add library suffix for libatomic
---
cmake/modules/FindMySQL.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmake/modules/FindMySQL.cmake b/cmake/modules/FindMySQL.cmake
index ef64646..23470a8 100644
--- a/cmake/modules/FindMySQL.cmake
+++ b/cmake/modules/FindMySQL.cmake
@@ -84,7 +84,7 @@ find_path(MYSQL_INCLUDE_DIR mysql.h
)
set(TMP_MYSQL_LIBRARIES "")
-set(CMAKE_FIND_LIBRARY_SUFFIXES .so .a .lib)
+set(CMAKE_FIND_LIBRARY_SUFFIXES .so .a .lib .so.1)
foreach(MY_LIB ${MYSQL_ADD_LIBRARIES})
find_library("MYSQL_LIBRARIES_${MY_LIB}" NAMES ${MY_LIB}
HINTS