qt5: use -dbus-linked when building with dbus.

This fixes the issue that Qt 5 doesn't find the D-Bus libraries when
Homebrew is installed in a non-standard prefix.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>

Closes Homebrew/homebrew#26550.
This commit is contained in:
Harald Fernengel 2014-02-09 18:36:37 +01:00 committed by Mike McQuaid
parent fe96fdcdb0
commit 67543c5d53

View file

@ -75,6 +75,7 @@ class Qt5 < Formula
args << "-I#{dbus_opt}/include/dbus-1.0"
args << "-L#{dbus_opt}/lib"
args << "-ldbus-1"
args << "-dbus-linked"
end
if MacOS.prefer_64_bit? or build.universal?