diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-01-07 12:45:58 -0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2020-01-10 12:28:51 +0100 |
commit | ca2f53f91a77642a951806ff31cfd9be8543131d (patch) | |
tree | 5bf9bb234b4f17553fcb60a773cf8f25ae8ac0e3 /recipes-qt/qt5/qt5-creator/0001-Link-with-libexecinfo-on-musl.patch | |
parent | 6e7cc682c2a5f5b0dece0a14a04ddc7cd8aa552d (diff) | |
download | meta-qt5-ca2f53f91a77642a951806ff31cfd9be8543131d.tar.gz |
qt5-creator: Update musl patch to link qmldesigner with -lexecinfo
Fixes link failures like below
src/plugins/qmldesigner/designercore/exceptions/exception.cpp:116: undefined reference to `backtrace'
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes-qt/qt5/qt5-creator/0001-Link-with-libexecinfo-on-musl.patch')
-rw-r--r-- | recipes-qt/qt5/qt5-creator/0001-Link-with-libexecinfo-on-musl.patch | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/recipes-qt/qt5/qt5-creator/0001-Link-with-libexecinfo-on-musl.patch b/recipes-qt/qt5/qt5-creator/0001-Link-with-libexecinfo-on-musl.patch index 214a4034..da7561ce 100644 --- a/recipes-qt/qt5/qt5-creator/0001-Link-with-libexecinfo-on-musl.patch +++ b/recipes-qt/qt5/qt5-creator/0001-Link-with-libexecinfo-on-musl.patch | |||
@@ -9,8 +9,6 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | |||
9 | src/plugins/debugger/debugger.pro | 1 + | 9 | src/plugins/debugger/debugger.pro | 1 + |
10 | 1 file changed, 1 insertion(+) | 10 | 1 file changed, 1 insertion(+) |
11 | 11 | ||
12 | diff --git a/src/plugins/debugger/debugger.pro b/src/plugins/debugger/debugger.pro | ||
13 | index acbf5136b9..159139eb2b 100644 | ||
14 | --- a/src/plugins/debugger/debugger.pro | 12 | --- a/src/plugins/debugger/debugger.pro |
15 | +++ b/src/plugins/debugger/debugger.pro | 13 | +++ b/src/plugins/debugger/debugger.pro |
16 | @@ -139,3 +139,4 @@ include(console/console.pri) | 14 | @@ -139,3 +139,4 @@ include(console/console.pri) |
@@ -18,3 +16,14 @@ index acbf5136b9..159139eb2b 100644 | |||
18 | 16 | ||
19 | include(shared/shared.pri) | 17 | include(shared/shared.pri) |
20 | +LIBS *= -lexecinfo | 18 | +LIBS *= -lexecinfo |
19 | --- a/src/plugins/qmldesigner/qmldesignerplugin.pro | ||
20 | +++ b/src/plugins/qmldesigner/qmldesignerplugin.pro | ||
21 | @@ -3,7 +3,7 @@ CONFIG += exceptions | ||
22 | |||
23 | INCLUDEPATH += $$PWD | ||
24 | |||
25 | -unix:!openbsd:!osx: LIBS += -lrt # posix shared memory | ||
26 | +unix:!openbsd:!osx: LIBS += -lexecinfo -lrt # posix shared memory | ||
27 | |||
28 | include(../../qtcreatorplugin.pri) | ||
29 | |||