diff --git a/src/core/qtwebengine_extras.gypi b/src/core/qtwebengine_extras.gypi index 95c8f7ec14ef379b12b4c18cdf4e7258d9d814e9..5d75f99292e7fe162592ca8207d14a9280dc7dae 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',