No need to set -fPIC now that the make install gets the correct config files.
It was needed when the static python binary was being built & installed using the dynamic libpython
The following part of the patch ensures the static python is built with the static library or vice versa,
No need to set -fPIC now that the make install gets the correct config files.
It was needed when the static python binary was being built & installed using the dynamic libpython
The following part of the patch ensures the static python is built with the static library or vice versa,
622 ifeq ($(with_ interp) ,static) $(CURDIR) /$(d)/usr BUILD_GNU_ TYPE),$ (DEB_HOST_ GNU_TYPE) ) static) /pyconfig. h $(buildd_ cross)/ pyconfig. h static) /Makefile $(buildd_ cross)/ Makefile $(CURDIR) /$(d)/usr $(CROSS) $(CURDIR) /$(d)/usr BUILD_GNU_ TYPE),$ (DEB_HOST_ GNU_TYPE) ) shared) /pyconfig. h $(buildd_ cross)/ pyconfig. h shared) /Makefile $(buildd_ cross)/ Makefile $(CURDIR) /$(d)/usr $(CROSS)
623 - $(MAKE) -C $(buildd_static) install prefix=
624 + ifneq ($(DEB_
625 + @echo "Build python should use the new pyconfig.h"
626 + cp $(buildd_
627 + cp $(buildd_
628 + endif
629 + $(MAKE) -C $(buildd_static) install prefix=
630 else
631 - $(MAKE) -C $(buildd_shared) install prefix=
632 + ifneq ($(DEB_
633 + @echo "Build python should use the new pyconfig.h"
634 + cp $(buildd_
635 + cp $(buildd_
636 + endif
637 + $(MAKE) -C $(buildd_shared) install prefix=
638 endif