Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
cc5addd3
Kaydet (Commit)
cc5addd3
authored
Haz 30, 2012
tarafından
doko@ubuntu.com
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
- Issue #14330: Don't derive the include and library search dirs
from GCC for native builds
üst
4c99071c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
15 deletions
+11
-15
aclocal.m4
Modules/_ctypes/libffi/aclocal.m4
+5
-5
configure
Modules/_ctypes/libffi/configure
+0
-0
setup.py
setup.py
+6
-10
No files found.
Modules/_ctypes/libffi/aclocal.m4
Dosyayı görüntüle @
cc5addd3
# generated automatically by aclocal 1.11.
3
-*- Autoconf -*-
# generated automatically by aclocal 1.11.
5
-*- Autoconf -*-
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
...
@@ -14,8 +14,8 @@
...
@@ -14,8 +14,8 @@
m4_ifndef([AC_AUTOCONF_VERSION],
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.6
8
],,
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.6
9
],,
[m4_warning([this file was generated for autoconf 2.6
8
.
[m4_warning([this file was generated for autoconf 2.6
9
.
You have another version of autoconf. It may work, but is not guaranteed to.
You have another version of autoconf. It may work, but is not guaranteed to.
If you have problems, you may need to regenerate the build system entirely.
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically `autoreconf'.])])
To do so, use the procedure documented by the package, typically `autoreconf'.])])
...
@@ -38,7 +38,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION],
...
@@ -38,7 +38,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION],
[am__api_version='1.11'
[am__api_version='1.11'
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
dnl require some minimum version. Point them to the right macro.
dnl require some minimum version. Point them to the right macro.
m4_if([$1], [1.11.
3
], [],
m4_if([$1], [1.11.
5
], [],
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
])
])
...
@@ -54,7 +54,7 @@ m4_define([_AM_AUTOCONF_VERSION], [])
...
@@ -54,7 +54,7 @@ m4_define([_AM_AUTOCONF_VERSION], [])
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
[AM_AUTOMAKE_VERSION([1.11.
3
])dnl
[AM_AUTOMAKE_VERSION([1.11.
5
])dnl
m4_ifndef([AC_AUTOCONF_VERSION],
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
...
...
Modules/_ctypes/libffi/configure
Dosyayı görüntüle @
cc5addd3
This diff is collapsed.
Click to expand it.
setup.py
Dosyayı görüntüle @
cc5addd3
...
@@ -438,7 +438,9 @@ class PyBuildExt(build_ext):
...
@@ -438,7 +438,9 @@ class PyBuildExt(build_ext):
if
not
cross_compiling
:
if
not
cross_compiling
:
add_dir_to_list
(
self
.
compiler
.
library_dirs
,
'/usr/local/lib'
)
add_dir_to_list
(
self
.
compiler
.
library_dirs
,
'/usr/local/lib'
)
add_dir_to_list
(
self
.
compiler
.
include_dirs
,
'/usr/local/include'
)
add_dir_to_list
(
self
.
compiler
.
include_dirs
,
'/usr/local/include'
)
self
.
add_gcc_paths
()
# only change this for cross builds for 3.3, issues on Mageia
if
cross_compiling
:
self
.
add_gcc_paths
()
self
.
add_multiarch_paths
()
self
.
add_multiarch_paths
()
# Add paths specified in the environment variables LDFLAGS and
# Add paths specified in the environment variables LDFLAGS and
...
@@ -489,18 +491,12 @@ class PyBuildExt(build_ext):
...
@@ -489,18 +491,12 @@ class PyBuildExt(build_ext):
# lib_dirs and inc_dirs are used to search for files;
# lib_dirs and inc_dirs are used to search for files;
# if a file is found in one of those directories, it can
# if a file is found in one of those directories, it can
# be assumed that no additional -I,-L directives are needed.
# be assumed that no additional -I,-L directives are needed.
inc_dirs
=
self
.
compiler
.
include_dirs
[:]
lib_dirs
=
self
.
compiler
.
library_dirs
[:]
if
not
cross_compiling
:
if
not
cross_compiling
:
for
d
in
(
lib_dirs
=
self
.
compiler
.
library_dirs
+
[
'/usr/include'
,
):
add_dir_to_list
(
inc_dirs
,
d
)
for
d
in
(
'/lib64'
,
'/usr/lib64'
,
'/lib64'
,
'/usr/lib64'
,
'/lib'
,
'/usr/lib'
,
'/lib'
,
'/usr/lib'
,
):
]
add_dir_to_list
(
lib_dirs
,
d
)
inc_dirs
=
self
.
compiler
.
include_dirs
+
[
'/usr/include'
]
exts
=
[]
exts
=
[]
missing
=
[]
missing
=
[]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment