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:
parent
fe96fdcdb0
commit
67543c5d53
1 changed files with 1 additions and 0 deletions
|
@ -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?
|
||||
|
|
Loading…
Reference in a new issue