curl: fix tab and use BUILD_DIR/SOURCE_DIR

This commit is contained in:
Tony Theodore 2019-10-21 19:25:22 +11:00
parent 347947eed6
commit d1dad0d64e
1 changed files with 4 additions and 3 deletions

View File

@ -18,16 +18,17 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
cd '$(1)' && ./configure \
cd '$(BUILD_DIR)' && $(SOURCE_DIR)/configure \
$(MXE_CONFIGURE_OPTS) \
--with-winssl \
--with-winssl \
--without-ssl \
--with-libidn2 \
--enable-sspi \
--enable-ipv6 \
--with-libssh2 \
LIBS=`'$(TARGET)-pkg-config' pthreads --libs`
$(MAKE) -C '$(1)' -j '$(JOBS)' install $(MXE_DISABLE_DOCS)
$(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)' $(MXE_DISABLE_DOCS)
$(MAKE) -C '$(BUILD_DIR)' -j 1 install $(MXE_DISABLE_DOCS)
ln -sf '$(PREFIX)/$(TARGET)/bin/curl-config' '$(PREFIX)/bin/$(TARGET)-curl-config'
'$(TARGET)-gcc' \