From 3a6233a0406acda6b9b9611cc0cd5c4e73e3f9c3 Mon Sep 17 00:00:00 2001 From: Cédric Bosdonnat Date: Tue, 30 Oct 2012 13:38:51 +0100 Subject: Add PATH to have curl configure find ns{s,pr}-config in solver Change-Id: I15dc96c13189d0dc76c616f3ab49d2ea099bc884 --- curl/ExternalProject_curl.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'curl') diff --git a/curl/ExternalProject_curl.mk b/curl/ExternalProject_curl.mk index 7baca05fd6a4..e1388cdd687d 100644 --- a/curl/ExternalProject_curl.mk +++ b/curl/ExternalProject_curl.mk @@ -19,7 +19,8 @@ ifeq ($(GUI),UNX) $(call gb_ExternalProject_get_state_target,curl,build): cd $(EXTERNAL_WORKDIR) \ - && ./configure --with-nss --without-ssl --without-libidn --enable-ftp --enable-ipv6 --enable-http --disable-gopher \ + && PATH=$(OUTDIR_FOR_BUILD)/bin:$$PATH ./configure --with-nss --without-ssl \ + --without-libidn --enable-ftp --enable-ipv6 --enable-http --disable-gopher \ --disable-file --disable-ldap --disable-telnet --disable-dict --without-libssh2 \ $(if $(filter YES,$(CROSS_COMPILING)),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \ $(if $(filter TRUE,$(DISABLE_DYNLOADING)),--disable-shared,--disable-static) \ @@ -33,7 +34,7 @@ else ifeq ($(OS)$(COM),WNTGCC) $(call gb_ExternalProject_get_state_target,curl,build): cd $(EXTERNAL_WORKDIR) \ - && ./configure --with-nss --without-ssl --enable-ftp --enable-ipv6 --disable-http --disable-gopher \ + && PATH=$(OUTDIR_FOR_BUILD)/bin:$$PATH ./configure --with-nss --without-ssl --enable-ftp --enable-ipv6 --disable-http --disable-gopher \ --disable-file --disable-ldap --disable-telnet --disable-dict --build=i586-pc-mingw32 --host=i586-pc-mingw32 \ $(if $(filter TRUE,$(ENABLE_DEBUG)),--enable-debug) \ CC="$(CC) -mthreads $(if $(filter YES,$(MINGW_SHARED_GCCLIB)),-shared-libgcc)" \ -- cgit