Re: building curl on macos

2021-06-10 Thread Jason Proctor via curl-library
On Thu, Jun 10, 2021 at 3:02 PM Daniel Stenberg via curl-library wrote: > > On Thu, 10 Jun 2021, Dave via curl-library wrote: > > > Am I right in assuming that $PREFIX_OPENSSL would be set by this? > > ./configure --with-ssl=$openssldir/builds/osx/release > > Yes. And that should be the prefix to

Re: building curl on macos

2021-06-10 Thread Daniel Stenberg via curl-library
On Thu, 10 Jun 2021, Dave via curl-library wrote: Am I right in assuming that $PREFIX_OPENSSL would be set by this? ./configure --with-ssl=$openssldir/builds/osx/release Yes. And that should be the prefix to where you installed OpenSSL. And note that we prefer --with-openssl now instead of--w

Re: building curl on macos

2021-06-10 Thread Dave via curl-library
On Thu, 10 Jun 2021 at 15:05, Daniel Stenberg wrote: > > On Thu, 10 Jun 2021, Dave via curl-library wrote: > > > configure: error: [redacted, $openssldir]/builds/osx/debug is a bad > > --with-openssl prefix! > > This means $PREFIX_OPENSSL/include/openssl/ssl.h is missing. > Thanks for the quick r

Re: building curl on macos

2021-06-10 Thread Daniel Stenberg via curl-library
On Thu, 10 Jun 2021, Dave via curl-library wrote: configure: error: [redacted, $openssldir]/builds/osx/debug is a bad --with-openssl prefix! This means $PREFIX_OPENSSL/include/openssl/ssl.h is missing. If I create a debug library for OpenSSL and place it in that folder it does succeed. My

building curl on macos

2021-06-10 Thread Dave via curl-library
Hello, I'm attempting to build curl-7_77_0 on macOS to create a Universal 2 (arm64 and x86_64) version. I'm building OpenSSL first and lipo-ing the release variants of libcrypto.1.1.dylib and libssl.1.1.dylib successfully. The relevant part of my script for the curl build stage is as follows: --