From 0781dd8271ad2388a065fd4cac94407ba7d550c7 Mon Sep 17 00:00:00 2001 From: Vojtech Kral Date: Tue, 13 Mar 2018 13:41:19 +0100 Subject: [PATCH] Fix unix build: set openssl path directly rather than via pkg-config (#789) --- doc/deps-build/unix-static/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/deps-build/unix-static/Makefile b/doc/deps-build/unix-static/Makefile index e7588b994..71e46320b 100644 --- a/doc/deps-build/unix-static/Makefile +++ b/doc/deps-build/unix-static/Makefile @@ -82,11 +82,11 @@ $(OPENSSL).tar.gz: libcurl: libopenssl $(CURL).tar.gz tar -zxvf $(CURL).tar.gz -# XXX: disable shared? -# Setting PKG_CONFIG_PATH should make libcurl find our previously built openssl - cd $(CURL) && PKG_CONFIG_PATH=$(DESTDIR)/usr/local/lib/pkgconfig ./configure \ +# Note: It seems setting custom openssl path doesn't work when pkg-config and system openssl devel libs are installed + cd $(CURL) && ./configure \ --enable-static \ --enable-shared \ + --with-ssl=$(DESTDIR)/usr/local \ --with-pic \ --enable-ipv6 \ --enable-versioned-symbols \