summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrançois Andriot <francois.andriot@free.fr>2014-09-28 04:27:13 +0200
committerSlávek Banko <slavek.banko@axis.cz>2014-09-28 04:27:25 +0200
commit695fdfc1964a55141de9cf88c013b4c8aeffbdbc (patch)
tree00ddb5cb311cbd3c8e88b9c5f9b73710b09411ce
parente3a99f67922881dd89b95e6232387e18ad6db902 (diff)
downloadpytqt-695fdfc1964a55141de9cf88c013b4c8aeffbdbc.tar.gz
pytqt-695fdfc1964a55141de9cf88c013b4c8aeffbdbc.zip
Fix FTBFS if no "-e" parameter is usedr14.0.0
-rw-r--r--configure.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.py b/configure.py
index aa29ae6..ebedf9a 100644
--- a/configure.py
+++ b/configure.py
@@ -108,7 +108,7 @@ def usage(rcode = 2):
sys.stdout.write(" -a tag explicitly enable the qtpe module\n")
sys.stdout.write(" -b dir where pyuic and pylupdate will be installed [default %s]\n" % opt_pyqtbindir)
sys.stdout.write(" -c concatenate each module's C/C++ source files\n")
- sys.stdout.write(" -d dir where the PyTQt modules will be installed [default %\ns]" % opt_pyqtmoddir)
+ sys.stdout.write(" -d dir where the PyTQt modules will be installed [default %s]\n" % opt_pyqtmoddir)
sys.stdout.write(" -e lib explicitly specify the python library\n")
sys.stdout.write(" -f keep any existing features file (when cross-compiling) [default remove]\n")
sys.stdout.write(" -g dir where the TQt qconfig.h file can be found [default TQt include directory]\n")
@@ -1343,6 +1343,8 @@ def main(argv):
global opt_vendorcheck, opt_vendincdir, opt_vendlibdir
global opt_libpython
+ opt_libpython = None
+
for opt, arg in optlist:
if opt == "-h":
usage(0)