[Buildroot] [PATCH v2] aiccu: patched Makefile to enable static linking
Peter Korsgaard
peter at korsgaard.com
Tue Oct 1 17:46:00 UTC 2013
>>>>> "Peter" == Peter Korsgaard <jacmet at uclibc.org> writes:
M> + ifeq ($(shell uname | grep -c "Linux"),1)
M> + CFLAGS += -D AICCU_GNUTLS
M> +-LDFLAGS += -lgnutls
M> ++LDFLAGS += -lgnutls -lhogweed -lnettle -lgmp -lz
Peter> Thanks. The problem is that zlib (and libidn, p11-kit and libtasn1) are
Peter> all optional for gnutls (but needed in LDFLAGS when statically linking),
Peter> so this doesn't really work.
Peter> Perhaps we should handle it in aiccu.mk instead, either manually or
Peter> using pkg-config --static --libs gnutls
Committed with that changed, thanks.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list