Fix unix build: set openssl path directly rather than via pkg-config (#789)

This commit is contained in:
Vojtech Kral 2018-03-13 13:41:19 +01:00 committed by bubnikv
parent bd61c233a5
commit 0781dd8271

View File

@ -82,11 +82,11 @@ $(OPENSSL).tar.gz:
libcurl: libopenssl $(CURL).tar.gz libcurl: libopenssl $(CURL).tar.gz
tar -zxvf $(CURL).tar.gz tar -zxvf $(CURL).tar.gz
# XXX: disable shared? # Note: It seems setting custom openssl path doesn't work when pkg-config and system openssl devel libs are installed
# Setting PKG_CONFIG_PATH should make libcurl find our previously built openssl cd $(CURL) && ./configure \
cd $(CURL) && PKG_CONFIG_PATH=$(DESTDIR)/usr/local/lib/pkgconfig ./configure \
--enable-static \ --enable-static \
--enable-shared \ --enable-shared \
--with-ssl=$(DESTDIR)/usr/local \
--with-pic \ --with-pic \
--enable-ipv6 \ --enable-ipv6 \
--enable-versioned-symbols \ --enable-versioned-symbols \