summaryrefslogtreecommitdiff
path: root/homebrew/mydumper/patches.sh
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/mydumper/patches.sh')
-rwxr-xr-xhomebrew/mydumper/patches.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/homebrew/mydumper/patches.sh b/homebrew/mydumper/patches.sh
new file mode 100755
index 000000000..8dab1c471
--- /dev/null
+++ b/homebrew/mydumper/patches.sh
@@ -0,0 +1,14 @@
+echo 'Creating brew-patch.diff'
+cat << EOF >> brew-patch.diff
+--- cmake/modules/FindMySQL.cmake 2015-09-16 16:11:34.000000000 -0400
++++ cmake/modules/FindMySQL.cmake 2015-09-16 16:10:56.000000000 -0400
+@@ -84,7 +84,7 @@
+ )
+
+ set(TMP_MYSQL_LIBRARIES "")
+-set(CMAKE_FIND_LIBRARY_SUFFIXES .so .a .lib)
++set(CMAKE_FIND_LIBRARY_SUFFIXES .so .lib .dylib)
+ foreach(MY_LIB ${MYSQL_ADD_LIBRARIES})
+ find_library("MYSQL_LIBRARIES_${MY_LIB}" NAMES ${MY_LIB}
+ HINTS
+EOF