]> Git Repo - binutils.git/blobdiff - gdb/python/python-config.py
Check for negative argument in Type.template_argument
[binutils.git] / gdb / python / python-config.py
index c2b2969c3923bb4abc288cf56f70c3393eb3c12f..3e60b86a6fc438d6d5d15d31a73b0fb26332267b 100644 (file)
@@ -58,12 +58,11 @@ for opt in opt_flags:
         print (to_unix_path(' '.join(flags)))
 
     elif opt in ('--libs', '--ldflags'):
-        libs = []
+        libs = ['-lpython' + pyver + abiflags]
         if getvar('LIBS') is not None:
             libs.extend(getvar('LIBS').split())
         if getvar('SYSLIBS') is not None:
             libs.extend(getvar('SYSLIBS').split())
-        libs.append('-lpython'+pyver + abiflags)
         # add the prefix/lib/pythonX.Y/config dir, but only if there is no
         # shared library in prefix/lib/.
         if opt == '--ldflags':
This page took 0.029323 seconds and 4 git commands to generate.