qscintilla/qscintilla-2.7.2-prepend-local-includes.patch

18 lines
830 B
Diff

--- QScintilla-gpl-2.7.2.bak/Python/configure.py 2013-06-16 15:03:33.000000000 +0200
+++ QScintilla-gpl-2.7.2/Python/configure.py 2013-07-11 20:52:40.476947000 +0200
@@ -730,12 +730,12 @@
if target_config.qscintilla_is_dll:
pro.write('DEFINES += QSCINTILLA_DLL\n')
- pro.write('INCLUDEPATH += %s\n' % target_config.qsci_inc_dir)
+ pro.write('QMAKE_CXXFLAGS += -I%s\n' % target_config.qsci_inc_dir)
pro.write('INCLUDEPATH += %s\n' % target_config.py_inc_dir)
if target_config.py_inc_dir != target_config.sip_inc_dir:
pro.write('INCLUDEPATH += %s\n' % target_config.sip_inc_dir)
- pro.write('LIBS += -L%s -lqscintilla2\n' % target_config.qsci_lib_dir)
+ pro.write('QMAKE_LFLAGS += -L%s -lqscintilla2\n' % target_config.qsci_lib_dir)
if not opts.static:
pro.write('''