summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRobin Burchell <robin.burchell@collabora.co.uk>2012-06-29 09:16:15 +0200
committerQt by Nokia <qt-info@nokia.com>2012-07-03 01:09:07 +0200
commit865b910dc083c6341587ea1e91656eccef5c3f04 (patch)
tree489d0978ef00cb5d31a61d1cb4baf7345b01cfa7 /src
parentb97070f2c489877b650283842fbbdea708102a40 (diff)
configure: properly quote glesv2 flags
pkg-config returns glesv2 build flags, which are parsed into a few variables. However, extra spaces get included in these variables and quoted, which makes includes paths not work. This problem can only be hit, if you do not have GL ES 2 headers installed system-wide, but you do have installed into $prefix, and pkg-config configured to return the configuration for $prefix. Even though pkg-config returns correct paths, extra space gets included. Fix it by parsing the strings returned by pkg-config just like a shell would parse a command line. pkg-config escapes e.g. spaces, so those escape sequences need to be interpreted, while doing word-splitting. The result is a quoted list, as expected in the qmake files. Done-with: Pekka Paalanen <ppaalanen@gmail.com> Change-Id: I0593ef7e0606ac5ea80da046e45f86806206951a Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions