[Buildroot] [PATCH 1/1] netsnmp: fix static build with openssl

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sun Sep 9 13:09:19 UTC 2018


Hello,

On Sun, 9 Sep 2018 14:43:41 +0200, Fabrice Fontaine wrote:

> Because the last time I tried to use pkg-config, the upstream project
> decided to refuse the merge request and use ac_search_libs instead:
> https://gitlab.com/muttmua/mutt/merge_requests/25 :-(

I think in such cases, we should propose a patch that uses pkg-config
if available, and if not falls back to AC_CHECK_LIB or other macros. If
pkg-config is available, then static linking will work, if not, it will
continue to fail like it used to.

> I know that netsnmp is already using pkg-config, but only for libnl perhaps
> they would agree to use it also for ssl. I'll ask them and if they agree
> I'll update my patch.

Sure. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list