Marco Sulla <[email protected]> added the comment:
The problem is here:
Programs/_testembed.o: $(srcdir)/Programs/_testembed.c
$(MAINCC) -c $(PY_CORE_CFLAGS) -o $@ $(srcdir)/Programs/_testembed.c
`MAINCC` in my Makefile is `g++-9`. Probably, MAINCC is set to the value of
``--with-cxx-main`, if specified.
I replaced `MAINCC` with `CC` at this line, and it works.
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue39697>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com