From patchwork Mon Mar 9 22:12:06 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Frysinger X-Patchwork-Id: 5971931 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id ECBABBF440 for ; Mon, 9 Mar 2015 22:12:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3B6582044B for ; Mon, 9 Mar 2015 22:12:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7059C2043C for ; Mon, 9 Mar 2015 22:12:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753781AbbCIWMJ (ORCPT ); Mon, 9 Mar 2015 18:12:09 -0400 Received: from smtp.gentoo.org ([140.211.166.183]:48048 "EHLO smtp.gentoo.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750976AbbCIWMI (ORCPT ); Mon, 9 Mar 2015 18:12:08 -0400 Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 67752340712 for ; Mon, 9 Mar 2015 22:12:07 +0000 (UTC) From: Mike Frysinger To: linux-wireless@vger.kernel.org Subject: [PATCH crda v2] libreg: link against crypto libs Date: Mon, 9 Mar 2015 18:12:06 -0400 Message-Id: <1425939126-12478-1-git-send-email-vapier@gentoo.org> X-Mailer: git-send-email 2.3.1 In-Reply-To: <1425785565-26601-1-git-send-email-vapier@gentoo.org> References: <1425785565-26601-1-git-send-email-vapier@gentoo.org> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Since libreg uses funcs from the crypto lib, make sure we link them. Signed-off-by: Mike Frysinger --- v2 - the current LDLIBS mess includes -lreg in there which we have to strip Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8e345a1..5ba1664 100644 --- a/Makefile +++ b/Makefile @@ -117,7 +117,7 @@ keys-%.c: utils/key2pub.py $(wildcard $(PUBKEY_DIR)/*.pem) $(LIBREG): regdb.h reglib.h reglib.c $(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'