blob: f6a3bb4cfdd3c496416d5d0216a6c55ae94810ff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
From: Michael Olbrich <m.olbrich@pengutronix.de>
Date: Fri, 8 Feb 2019 15:56:46 +0100
Subject: [PATCH] HACK: don't resolv library paths
qtConfResolveLibs turns '-lfoo' into the full path for libfoo.so and fails
if the library is not found.
This break when the library is a ld scripts in a relocatable toolchain.
For example libm.so may contain 'GROUP ( /lib/libm.so.6 ...)' and this path
is not prefixed with the toolchain sysroot when the absolute path for
libm.so is used.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
---
qtbase/mkspecs/features/qt_configure.prf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qtbase/mkspecs/features/qt_configure.prf b/qtbase/mkspecs/features/qt_configure.prf
index 7ca65c92b3f1..5ce57b979617 100644
--- a/qtbase/mkspecs/features/qt_configure.prf
+++ b/qtbase/mkspecs/features/qt_configure.prf
@@ -573,7 +573,7 @@ defineTest(qtConfResolveLibs) {
out += $$l
}
}
- $$1 = $$out
+ $$1 = $$2
export($$1)
!isEmpty(4) {
$$4 = $$paths
|