projects
/
qscintilla2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d0a938
)
Link python modules to QScintilla2 libs
author
Scott Kitterman
<scott@kitterman.com>
Sat, 16 Dec 2017 00:01:46 +0000
(19:01 -0500)
committer
Gudjon I. Gudjonsson
<gudjon@gudjon.org>
Thu, 21 Feb 2019 18:34:03 +0000
(18:34 +0000)
Gbp-Pq: Name 0008-Link-python-modules-to-QScintilla2-libs.patch
Python/configure.py
patch
|
blob
|
history
diff --git
a/Python/configure.py
b/Python/configure.py
index bf266cbb0674bf229f7767cb567da50ac087ab77..2a04d5f0bd576c84656c85076014c470a53a7379 100644
(file)
--- a/
Python/configure.py
+++ b/
Python/configure.py
@@
-1559,7
+1559,10
@@
INSTALLS += sip
libs = qmake_config.get('LIBS')
if libs:
- pro.write('LIBS += %s\n' % libs)
+ if target_config.pyqt_package == 'PyQt5':
+ pro.write('LIBS += %s -lqscintilla2_qt5\n' % libs)
+ else:
+ pro.write('LIBS += %s -lqscintilla2_qt4\n' % libs)
if not opts.static:
dylib = module_config.get_mac_wrapped_library_file(target_config)