Skip to content

Commit

Permalink
Ignore sysconfig variables for LDCXXSHARED as it appears not to exist…
Browse files Browse the repository at this point in the history
… on PyPy.
  • Loading branch information
sciyoshi authored and jaraco committed Mar 2, 2024
1 parent 9f176ac commit 5174927
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions distutils/sysconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,6 @@ def customize_compiler(compiler): # noqa: C901
cflags,
ccshared,
ldshared,
ldcxxshared,
shlib_suffix,
ar,
ar_flags,
Expand All @@ -310,13 +309,13 @@ def customize_compiler(compiler): # noqa: C901
'CFLAGS',
'CCSHARED',
'LDSHARED',
'LDCXXSHARED',
'SHLIB_SUFFIX',
'AR',
'ARFLAGS',
)

cxxflags = cflags
ldcxxshared = ""

if 'CC' in os.environ:
newcc = os.environ['CC']
Expand Down

0 comments on commit 5174927

Please sign in to comment.