mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
bpo-45847: Don't override user overrides for CFLAGS/LIBS (GH-29967)
This commit is contained in:
parent
c602c1be43
commit
0461c68cdf
3 changed files with 85 additions and 67 deletions
4
setup.py
4
setup.py
|
@ -665,7 +665,9 @@ class PyBuildExt(build_ext):
|
|||
print("Custom linker flags may require --with-openssl-rpath=auto")
|
||||
print()
|
||||
|
||||
if os.environ.get("PYTHONSTRICTEXTENSIONBUILD") and (self.failed or self.failed_on_import):
|
||||
if os.environ.get("PYTHONSTRICTEXTENSIONBUILD") and (
|
||||
self.failed or self.failed_on_import or self.missing
|
||||
):
|
||||
raise RuntimeError("Failed to build some stdlib modules")
|
||||
|
||||
def build_extension(self, ext):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue