Browse Source

Fix FTBFS if no "-e" parameter is used

tags/r14.0.0^0
François Andriot 6 years ago
committed by Slávek Banko
parent
commit
695fdfc196
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      configure.py

+ 3
- 1
configure.py View File

@@ -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)


Loading…
Cancel
Save