Skip to content

Commit 52cd70b

Browse files
committed
In sysconfig.customize_compiler, initialize ldcxxshared from config vars.
1 parent 65675e5 commit 52cd70b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

distutils/sysconfig.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,7 @@ def customize_compiler(compiler): # noqa: C901
304304
cflags,
305305
ccshared,
306306
ldshared,
307+
ldcxxshared,
307308
shlib_suffix,
308309
ar,
309310
ar_flags,
@@ -313,13 +314,13 @@ def customize_compiler(compiler): # noqa: C901
313314
'CFLAGS',
314315
'CCSHARED',
315316
'LDSHARED',
317+
'LDCXXSHARED',
316318
'SHLIB_SUFFIX',
317319
'AR',
318320
'ARFLAGS',
319321
)
320322

321323
cxxflags = cflags
322-
ldcxxshared = ""
323324

324325
if 'CC' in os.environ:
325326
newcc = os.environ['CC']

0 commit comments

Comments
 (0)