qt, qt5: use X11 path helpers
parent
174c6b640a
commit
062fe9d8e4
|
@ -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
|
||||
|
||||
|
|
|
@ -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'
|
||||
|
||||
|
|
Loading…
Reference in New Issue