nettle: fix darwin build

This commit is contained in:
Tony Theodore 2019-06-28 18:50:54 +10:00
parent 2798e5004f
commit 9e34c297ed
1 changed files with 6 additions and 4 deletions

View File

@ -20,8 +20,10 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
cd '$(1)' && ./configure \
$(MXE_CONFIGURE_OPTS)
$(MAKE) -C '$(1)' -j '$(JOBS)' $(if $(BUILD_STATIC),getopt.o getopt1.o,) SUBDIRS=
$(MAKE) -C '$(1)' -j '$(JOBS)' install SUBDIRS=
cd '$(BUILD_DIR)' && '$(SOURCE_DIR)/configure' \
$(MXE_CONFIGURE_OPTS) \
--disable-documentation \
$(if $(call seq,darwin,$(OS_SHORT_NAME)),gmp_cv_prog_exeext_for_build='')
$(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)' SUBDIRS=
$(MAKE) -C '$(BUILD_DIR)' -j 1 install SUBDIRS=
endef