Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37724232
en ru br
ALT Linux repositórios
S:2.7.18-alt11
5.0: 2.5.4-alt5
4.1: 2.5.4-alt0.M41.1
4.0: 2.4.5-alt0.M40.1
3.0: 2.4.1-alt5

Group :: Desenvolvimento/Python
RPM: python

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: python-2.5.4-alt-python-config.patch
Download


diff -ur Python/Misc/python-config.in Python.new/Misc/python-config.in
--- Python/Misc/python-config.in	2011-06-11 15:46:26 +0000
+++ Python.new/Misc/python-config.in	2011-10-19 14:41:29 +0000
@@ -37,10 +37,11 @@
         print sysconfig.EXEC_PREFIX
 
     elif opt in ('--includes', '--cflags'):
-        flags = ['-I' + sysconfig.get_python_inc(),
-                 '-I' + sysconfig.get_python_inc(plat_specific=True)]
-        if opt == '--cflags':
-            flags.extend(getvar('CFLAGS').split())
+        inc = sysconfig.get_python_inc()
+        inc_plat_specific = sysconfig.get_python_inc(plat_specific=True)
+        flags = ['-I' + inc]
+        if inc != inc_plat_specific:
+            flags.append('-I' + inc_plat_specific)
         print ' '.join(flags)
 
     elif opt in ('--libs', '--ldflags'):
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009