We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71711e8 commit 7fd3c3aCopy full SHA for 7fd3c3a
1 file changed
Makefile.pre.in
@@ -127,7 +127,7 @@ PY_CORE_CFLAGS= $(PY_STDMODULE_CFLAGS) -DPy_BUILD_CORE
127
# LDFLAGS used to build executables and shared targets.
128
PY_CORE_LDFLAGS=$(PY_LDFLAGS) $(PY_LDFLAGS_NODIST)
129
CONFIGURE_EXE_LDFLAGS=@EXE_LDFLAGS@
130
-PY_CORE_EXE_LDFLAGS=$(CONFIGURE_EXE_LDFLAGS) $(PY_LDFLAGS_NODIST)
+PY_CORE_EXE_LDFLAGS:= $(if $(CONFIGURE_EXE_LDFLAGS), $(CONFIGURE_EXE_LDFLAGS) $(PY_LDFLAGS_NODIST), $(PY_CORE_LDFLAGS))
131
# Strict or non-strict aliasing flags used to compile dtoa.c, see above
132
CFLAGS_ALIASING=@CFLAGS_ALIASING@
133
0 commit comments