Fixed -dbus-linked when cross-compiling from Windows
authorMatt Fischer <matt.fischer@garmin.com>
Thu, 28 Feb 2013 16:52:12 +0000 (10:52 -0600)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 28 Feb 2013 20:28:34 +0000 (21:28 +0100)
commitc82b0815ec80b3750a110d47c68142bb448ddf56
tree06e65582ca50e5cb8b25a114271d9eb504bd06f6
parent84a1493b509994901cb336c93378b80ed82b6a2a
Fixed -dbus-linked when cross-compiling from Windows

Since Windows doesn't have pkg-config, it doesn't get -ldbus-1
added to the command line automatically like Linux does.  Code
was present to deal with this case, however it was only configured
to work when native-compiling Qt.  The flag was not added when
cross-compiling, meaning that -dbus-linked did not work correctly
in that case.  This patch changes the code to add the flag properly
in both cases.

Change-Id: I67881643bd658161f4929f3932859ccf636ca7a9
Task-number: QTBUG-29984
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/dbus/dbus.pro