summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/python/python-pyqt-4.8.4/fix_qthelp_ftbfs.diff
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-devtools/python/python-pyqt-4.8.4/fix_qthelp_ftbfs.diff')
-rw-r--r--meta-oe/recipes-devtools/python/python-pyqt-4.8.4/fix_qthelp_ftbfs.diff15
1 files changed, 15 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/python/python-pyqt-4.8.4/fix_qthelp_ftbfs.diff b/meta-oe/recipes-devtools/python/python-pyqt-4.8.4/fix_qthelp_ftbfs.diff
new file mode 100644
index 0000000000..e7a68829ad
--- /dev/null
+++ b/meta-oe/recipes-devtools/python/python-pyqt-4.8.4/fix_qthelp_ftbfs.diff
@@ -0,0 +1,15 @@
1Description: Fix QtHelp FTBFS with ld --no-add-needed.
2Author: Felix Geyer <debfx-pkg@fobos.de>
3
4--- python-qt4-4.8.1.orig/configure.py
5+++ python-qt4-4.8.1/configure.py
6@@ -364,7 +364,8 @@ class ConfigurePyQt4:
7 pyqt_modules.append("QtCore")
8
9 check_module("QtGui", "qwidget.h", "new QWidget()")
10- check_module("QtHelp", "qhelpengine.h", "new QHelpEngine(\"foo\")")
11+ check_module("QtHelp", "qhelpengine.h", "new QHelpEngine(\"foo\")",
12+ extra_libs=["QtCore"])
13 check_module("QtMultimedia", "QAudioDeviceInfo",
14 "new QAudioDeviceInfo()")
15 check_module("QtNetwork", "qhostaddress.h", "new QHostAddress()")