don't emit -L/-F/-I with system dirs to .pc files

Change-Id: Idecb6f8ba61872c23856a8c7e22305c01c67f0b9
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Reviewed-by: Davide Pesavento <davidepesa@gmail.com>
fix default QMAKE_PKGCONFIG_LIBDIR

it needs neither native separators, nor a trailing separator.

the QMAKE_PKGCONFIG_INCDIR default was already ok.

Change-Id: I1048b3870fd3ca09aa76b41aecda7d90402aa64a
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
enable path replacement in installed qml plugin prl files on all platforms

amends 08a2d8df4, take 2.

Change-Id: If827612caf15b0d5d79fea38fa4915b1d36743d6
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
properly replace windows paths in installed qml plugin prl files

amends 53f48a4b, take 2.

Change-Id: Ia20d7879e4e1b6a34d5bb9e36b4fd7f17139b5fe
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
don't attempt to replace include paths in meta files

neither .prl nor .la files even contain include paths.
in .pc files, we assign the final path to start with, so there is
nothing to replace, either.

Change-Id: I919dfa01e0a1d0ef8ef1220174de1d33c66cedf9
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
reshuffle code for clarity

move a bit around, nest/de-duplicate dependent conditionals

Change-Id: I048bd3f409ce42b4138bccb28fcc513840202e7a
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
de-duplicate setup of libdir replacement in prl files

Change-Id: Ia93fa02d9e63597d3347fee3aaf2aca65e7cc83a
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Reviewed-by: Davide Pesavento <davidepesa@gmail.com>
snuff -L/-I with system paths when installing meta files

Task-number: QTBUG-37963
Change-Id: I8e268387f9dc33d7fab76395301b1396ca0445ff
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Reviewed-by: Davide Pesavento <davidepesa@gmail.com>
Fix objcopy config test for concurrent make processes

The make targets had no dependency to the built binary. Therefore
when building with multiple make processes(-j8) it was not guaranteed
that the binary was available for the objcopy tests.

Change-Id: Ifd04e3f49fdadf030e82e81498668899ad4e7fd3
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>