[Qt][Mac] Fix libxslt and libxml2 config tests https://bugs.webkit.org/show_bug.cgi...
authorAndras Becsi <andras.becsi@digia.com>
Wed, 9 Jan 2013 16:05:25 +0000 (17:05 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 14 Jan 2013 12:50:19 +0000 (13:50 +0100)
commitc03f448e170e91ef00dd1846a99e2f094b5919d8
tree91dafaf2368c1b0f01b129a0d6a5c13b82f90283
parent5ab8ecba8bb7146178ad89ba27ca7a3e79419626
[Qt][Mac] Fix libxslt and libxml2 config tests https://bugs.webkit.org/show_bug.cgi?id=104164

Reviewed by Simon Hausmann.

http://trac.webkit.org/changeset/136837

Source/WebCore:

Avoid using pkg-config on Mac, instead use direct
include paths and add needed libraries to the linker.

No new tests needed.

WebCore.pri:
Tools:

We should not use pkg-config on Mac instead use direct include
paths and add needed libraries to the linker options to detect
libxslt and libxml2 provided by the system.
Previously we would always fall back to qtxmlpatterns.

qmake/config.tests/libxml2/libxml2.pro:
qmake/config.tests/libxslt/libxslt.pro:

Change-Id: I2020c7cdce1f6c6217320b06b4571705eb8af769
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Source/WebCore/ChangeLog
Source/WebCore/WebCore.pri
Tools/ChangeLog
Tools/qmake/config.tests/libxml2/libxml2.pro
Tools/qmake/config.tests/libxslt/libxslt.pro