mysql: fix runtime binding with Xcode 8 on 10.11 (#5888)
This commit is contained in:
parent
9cb6dee8ef
commit
84862a0b1b
1 changed files with 1 additions and 5 deletions
|
@ -60,10 +60,6 @@ class Mysql < Formula
|
||||||
|
|
||||||
# -DINSTALL_* are relative to `CMAKE_INSTALL_PREFIX` (`prefix`)
|
# -DINSTALL_* are relative to `CMAKE_INSTALL_PREFIX` (`prefix`)
|
||||||
args = %W[
|
args = %W[
|
||||||
.
|
|
||||||
-DCMAKE_INSTALL_PREFIX=#{prefix}
|
|
||||||
-DCMAKE_FIND_FRAMEWORK=LAST
|
|
||||||
-DCMAKE_VERBOSE_MAKEFILE=ON
|
|
||||||
-DMYSQL_DATADIR=#{datadir}
|
-DMYSQL_DATADIR=#{datadir}
|
||||||
-DINSTALL_INCLUDEDIR=include/mysql
|
-DINSTALL_INCLUDEDIR=include/mysql
|
||||||
-DINSTALL_MANDIR=share/man
|
-DINSTALL_MANDIR=share/man
|
||||||
|
@ -108,7 +104,7 @@ class Mysql < Formula
|
||||||
# Build with debug support
|
# Build with debug support
|
||||||
args << "-DWITH_DEBUG=1" if build.with? "debug"
|
args << "-DWITH_DEBUG=1" if build.with? "debug"
|
||||||
|
|
||||||
system "cmake", *args
|
system "cmake", ".", *std_cmake_args, *args
|
||||||
system "make"
|
system "make"
|
||||||
system "make", "install"
|
system "make", "install"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue