aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/qt.rb2
-rw-r--r--Library/Formula/qt5.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/qt.rb b/Library/Formula/qt.rb
index e46855f11..266636fd8 100644
--- a/Library/Formula/qt.rb
+++ b/Library/Formula/qt.rb
@@ -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
diff --git a/Library/Formula/qt5.rb b/Library/Formula/qt5.rb
index 5f951f199..9f6cbb645 100644
--- a/Library/Formula/qt5.rb
+++ b/Library/Formula/qt5.rb
@@ -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'