Open kallisti5 opened 3 years ago
$ pkg-config --cflags openssl
-I/packages/openssl-1.1.1k-1/.self/develop/headers
$ pkg-config --libs openssl
-L/packages/openssl-1.1.1k-1/.self/develop/lib -lssl -lcrypto
You need to pass the configure option ./configure --with-ssl=/packages/openssl-1.1.1k-1/.self/develop
This is because the configure script then appends include and lib for those parts it needs.
pkg-config is not something that we need as a build dependency. Because then it is harder to build the software. But I see from pkg-config output that you pasted that the headers are in headers and not in the include directory. That is going to be hard to configure. Maybe edit the Makefile after running configure, or pass CFLAGS and LDFLAGS and LIBS on the commandline to configure with the settings that you want.
There's a long complex set of build system code to detect OpenSSL on systems. It's failing under Haiku as nothing is within includes.
Why isn't ldns just using pkg-config? That's what it is for.