From ae7800fb21e1c6891ddc4cceb02dc6b5a610ca12 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Mon, 10 Feb 2014 09:18:41 +0000 Subject: qt: use -dbus-linked when building with dbus. This fixes the issue that Qt doesn't find the D-Bus libraries when Homebrew is installed in a non-standard prefix. --- Library/Formula/qt.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Formula') diff --git a/Library/Formula/qt.rb b/Library/Formula/qt.rb index abf63a684..931c9c2d3 100644 --- a/Library/Formula/qt.rb +++ b/Library/Formula/qt.rb @@ -15,7 +15,6 @@ class Qt < Formula # It would be nice if this was a real version number but unfortunately # that will mess with the bottles. version '4.8.5' - end head 'git://gitorious.org/qt/qt.git', :branch => '4.8' @@ -72,6 +71,7 @@ class Qt < Formula args << "-I#{dbus_opt}/include/dbus-1.0" args << "-L#{dbus_opt}/lib" args << "-ldbus-1" + args << "-dbus-linked" end if build.with? 'qt3support' -- cgit v1.2.3