https://bugs.gentoo.org/542436 From f56ab87b25f2228a67ac592a1c18793c72dd03eb Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 7 Mar 2015 22:29:33 -0500 Subject: [PATCH crda] libreg: link against crypto libs Since libreg uses funcs from the crypto lib, make sure we link them. Signed-off-by: Mike Frysinger --- a/Makefile +++ b/Makefile @@ -115,7 +115,7 @@ keys.c: utils/key2pub.py $(wildcard $(PUBKEY_DIR)/*.pem) $(LIBREG): reglib.c regdb.h reglib.h $(NQ) ' CC ' $@ - $(Q)$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -shared -Wl,-soname,$(LIBREG) $< + $(Q)$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -shared -Wl,-soname,$(LIBREG) $< $(filter-out -lreg,$(LDLIBS)) install-libreg-headers: $(NQ) ' INSTALL libreg-headers'