diff options
Diffstat (limited to 'recipes-qt/qt5/qtbase-git/0008-qt_module-Fix-pkgconfig-replacement.patch')
-rw-r--r-- | recipes-qt/qt5/qtbase-git/0008-qt_module-Fix-pkgconfig-replacement.patch | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/recipes-qt/qt5/qtbase-git/0008-qt_module-Fix-pkgconfig-replacement.patch b/recipes-qt/qt5/qtbase-git/0008-qt_module-Fix-pkgconfig-replacement.patch index 4d15ee06..f855292c 100644 --- a/recipes-qt/qt5/qtbase-git/0008-qt_module-Fix-pkgconfig-replacement.patch +++ b/recipes-qt/qt5/qtbase-git/0008-qt_module-Fix-pkgconfig-replacement.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 1ac376893b75c36cc1ee6465e814546e2215354e Mon Sep 17 00:00:00 2001 | 1 | From 5168edad24f2c27061286707603bc2126365bcb2 Mon Sep 17 00:00:00 2001 |
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | 2 | From: Martin Jansa <Martin.Jansa@gmail.com> |
3 | Date: Sat, 27 Apr 2013 23:15:37 +0200 | 3 | Date: Sat, 27 Apr 2013 23:15:37 +0200 |
4 | Subject: [PATCH 08/15] qt_module: Fix pkgconfig replacement | 4 | Subject: [PATCH 08/23] qt_module: Fix pkgconfig replacement |
5 | 5 | ||
6 | * in situation like this: | 6 | * in situation like this: |
7 | QT_SYSROOT:/OE/oe-core/tmp-eglibc/sysroots/qemuarm | 7 | QT_SYSROOT:/OE/oe-core/tmp-eglibc/sysroots/qemuarm |
@@ -23,14 +23,14 @@ Upstream-Status: Pending | |||
23 | 23 | ||
24 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | 24 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> |
25 | --- | 25 | --- |
26 | mkspecs/features/qt_module.prf | 16 ++++++++++++++-- | 26 | mkspecs/features/qt_module.prf | 20 ++++++++++++++++---- |
27 | 1 file changed, 14 insertions(+), 2 deletions(-) | 27 | 1 file changed, 16 insertions(+), 4 deletions(-) |
28 | 28 | ||
29 | diff --git a/mkspecs/features/qt_module.prf b/mkspecs/features/qt_module.prf | 29 | diff --git a/mkspecs/features/qt_module.prf b/mkspecs/features/qt_module.prf |
30 | index 3531d28..1c43972 100644 | 30 | index 7f7de85..7741b96 100644 |
31 | --- a/mkspecs/features/qt_module.prf | 31 | --- a/mkspecs/features/qt_module.prf |
32 | +++ b/mkspecs/features/qt_module.prf | 32 | +++ b/mkspecs/features/qt_module.prf |
33 | @@ -136,18 +136,30 @@ unix|win32-g++* { | 33 | @@ -140,18 +140,30 @@ unix|win32-g++* { |
34 | rplbase = $$dirname(_QMAKE_SUPER_CACHE_)/[^/][^/]* | 34 | rplbase = $$dirname(_QMAKE_SUPER_CACHE_)/[^/][^/]* |
35 | else: \ | 35 | else: \ |
36 | rplbase = $$MODULE_BASE_OUTDIR | 36 | rplbase = $$MODULE_BASE_OUTDIR |
@@ -41,8 +41,9 @@ index 3531d28..1c43972 100644 | |||
41 | include_replace.match = $$rplbase/include | 41 | include_replace.match = $$rplbase/include |
42 | include_replace.replace = $$[QT_INSTALL_HEADERS/raw] | 42 | include_replace.replace = $$[QT_INSTALL_HEADERS/raw] |
43 | lib_replace.match = $$rplbase/lib | 43 | lib_replace.match = $$rplbase/lib |
44 | lib_replace.replace = $$[QT_INSTALL_LIBS/raw] | 44 | - lib_replace.replace = $$QMAKE_PKGCONFIG_LIBDIR |
45 | - QMAKE_PKGCONFIG_INSTALL_REPLACE += include_replace lib_replace | 45 | - QMAKE_PKGCONFIG_INSTALL_REPLACE += include_replace lib_replace |
46 | + lib_replace.replace = $$[QT_INSTALL_LIBS/raw] | ||
46 | + lafile_replace.match = $$rplbase | 47 | + lafile_replace.match = $$rplbase |
47 | + lafile_replace.replace = "=$$[QT_INSTALL_PREFIX/raw]" | 48 | + lafile_replace.replace = "=$$[QT_INSTALL_PREFIX/raw]" |
48 | + | 49 | + |
@@ -57,12 +58,13 @@ index 3531d28..1c43972 100644 | |||
57 | 58 | ||
58 | unix { | 59 | unix { |
59 | CONFIG += create_libtool explicitlib | 60 | CONFIG += create_libtool explicitlib |
60 | QMAKE_LIBTOOL_LIBDIR = $$[QT_INSTALL_LIBS/raw] | 61 | - QMAKE_LIBTOOL_LIBDIR = $$QMAKE_PKGCONFIG_LIBDIR |
61 | - QMAKE_LIBTOOL_INSTALL_REPLACE += include_replace lib_replace | 62 | - QMAKE_LIBTOOL_INSTALL_REPLACE += include_replace lib_replace |
62 | + QMAKE_LIBTOOL_INSTALL_REPLACE += lafile_replace | 63 | + QMAKE_LIBTOOL_LIBDIR = $$[QT_INSTALL_LIBS/raw] |
64 | + QMAKE_LIBTOOL_INSTALL_REPLACE += include_replace lib_replace lafile_replace | ||
63 | } | 65 | } |
64 | 66 | ||
65 | unix|win32-g++* { | 67 | unix|win32-g++* { |
66 | -- | 68 | -- |
67 | 1.8.2.1 | 69 | 1.8.3.2 |
68 | 70 | ||