Closed ffontaine closed 2 years ago
Have seen that commit, but didn't include it deliberately. It introduces an extra dependency on pkg-config being installed.
It looks like ucLibc specific specific issue... can it not be solved in a more elegant way?
does this make sense to you?
Static build is not related to uclibc-ng, however, I understand that you don't want to add a pkg-config dependency. In this case, I would suggest to move -lssl
in a dedicated variable such as SSL_LIBS
. Then, I would override SSL_LIBS
with the result of pkg-config in buildroot httpdate.mk
Yes, perfect. I'll pull this commit in buildroot, thanks.
A bit sad that pkg-config
was not used. It could have been used optionally, i.e only if available.
Depending on its build configuration, openssl might not be compiled with dynamic zlib support, and programs that link against openssl need to link against zlib as well, as illustrated in this build failure: http://autobuild.buildroot.net/results/ae9/ae946ca72238840b3eaa5fe823e8d620618f7462/
Signed-off-by: Titouan Christophe titouan.christophe@railnova.eu [Retrieved (and slightly updated) from: https://github.com/angeloc/htpdate/commit/72fcf9f82770e927e058a2eaa327d0eecb1e3c8d] Signed-off-by: Fabrice Fontaine fontaine.fabrice@gmail.com