Skip to content

Commit 5174927

Browse files
sciyoshijaraco
authored andcommitted
Ignore sysconfig variables for LDCXXSHARED as it appears not to exist on PyPy.
1 parent 9f176ac commit 5174927

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

distutils/sysconfig.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,6 @@ def customize_compiler(compiler): # noqa: C901
300300
cflags,
301301
ccshared,
302302
ldshared,
303-
ldcxxshared,
304303
shlib_suffix,
305304
ar,
306305
ar_flags,
@@ -310,13 +309,13 @@ def customize_compiler(compiler): # noqa: C901
310309
'CFLAGS',
311310
'CCSHARED',
312311
'LDSHARED',
313-
'LDCXXSHARED',
314312
'SHLIB_SUFFIX',
315313
'AR',
316314
'ARFLAGS',
317315
)
318316

319317
cxxflags = cflags
318+
ldcxxshared = ""
320319

321320
if 'CC' in os.environ:
322321
newcc = os.environ['CC']

0 commit comments

Comments
 (0)