From 7abe01872854444acd09c4d63c8097e1882edfa4 Mon Sep 17 00:00:00 2001
From: Zeno Albisser <zeno.albisser@digia.com>
Date: Mon, 10 Feb 2014 16:59:53 +0100
Subject: [PATCH] Remove wrong library path that is reported by icu-config.

icu-config reports the path to icu resources on the host
so we need to remove this path again, when compiling for
an embedded target.

Change-Id: Ifaf1c07ad3d0a8794a109b253764834ea3ff6ddc
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
---
 src/core/qtwebengine_extras.gypi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/core/qtwebengine_extras.gypi b/src/core/qtwebengine_extras.gypi
index 95c8f7ec1..5d75f9929 100644
--- a/src/core/qtwebengine_extras.gypi
+++ b/src/core/qtwebengine_extras.gypi
@@ -37,7 +37,7 @@
       'target_defaults': {
         'target_conditions': [
           ['_toolset=="target"', {
-            'ldflags!': ['-L/usr/lib'], # garbage added by icu-config
+            'ldflags!': ['<!@(icu-config --ldflags)'], # remove garbage added by icu.gyp
             'defines': [
               'GL_GLEXT_PROTOTYPES',
               'EGL_EGLEXT_PROTOTYPES',
-- 
GitLab