Mercurial > mxe-octave
changeset 5832:e43ee30c4fee
use system libffi for build-python3 (bug #61024)
* build-python3.mk: Assume libffi is installed on build system.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 10 Aug 2021 12:33:10 -0400 |
parents | 4e1ae8cbc9ec |
children | d0e01250d146 |
files | src/build-python3.mk |
diffstat | 1 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/build-python3.mk Tue Aug 10 11:11:59 2021 -0400 +++ b/src/build-python3.mk Tue Aug 10 12:33:10 2021 -0400 @@ -8,7 +8,9 @@ $(PKG)_SUBDIR := Python-$($(PKG)_VERSION) $(PKG)_FILE := Python-$($(PKG)_VERSION).tar.xz $(PKG)_URL := http://www.python.org/ftp/python/$($(PKG)_VERSION)/$($(PKG)_FILE) -$(PKG)_DEPS := build-libffi + +## For now, assume that libffi is installed on the build system. +$(PKG)_DEPS := # build-libffi ifneq ($(USE_SYSTEM_GCC),yes) $(PKG)_DEPS += build-gcc endif @@ -24,9 +26,8 @@ PKG_CONFIG_PATH='$(BUILD_PKG_CONFIG_PATH)' \ LD_LIBRARY_PATH='$(LD_LIBRARY_PATH)' \ '$(1)/configure' \ - --prefix='$(BUILD_TOOLS_PREFIX)' \ - - + --prefix='$(BUILD_TOOLS_PREFIX)' + $(MAKE) -C '$(1)/.build' -j '$(JOBS)' $(MAKE) -C '$(1)/.build' -j 1 install endef