qt, qt5: use X11 path helpers

master
Jack Nagel 2013-08-05 18:17:00 -05:00
parent 174c6b640a
commit 062fe9d8e4
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ class Qt < Formula
# locations and with Xcode-only.
args << "-no-3dnow" if superenv?
args << "-L#{MacOS::X11.prefix}/lib" << "-I#{MacOS::X11.prefix}/include" if MacOS::X11.installed?
args << "-L#{MacOS::X11.lib}" << "-I#{MacOS::X11.include}" if MacOS::X11.installed?
args << "-platform" << "unsupported/macx-clang" if ENV.compiler == :clang

View File

@ -36,7 +36,7 @@ class Qt5 < Formula
ENV.append 'CXXFLAGS', "-I#{MacOS.sdk_path}/System/Library/Frameworks/CoreFoundation.framework/Headers"
end
args << "-L#{MacOS::X11.prefix}/lib" << "-I#{MacOS::X11.prefix}/include" if MacOS::X11.installed?
args << "-L#{MacOS::X11.lib}" << "-I#{MacOS::X11.include}" if MacOS::X11.installed?
args << "-plugin-sql-mysql" if build.with? 'mysql'