* [PATCH crda] libreg: link against crypto libs
@ 2015-03-08 3:32 Mike Frysinger
2015-03-09 22:12 ` [PATCH crda v2] " Mike Frysinger
0 siblings, 1 reply; 2+ messages in thread
From: Mike Frysinger @ 2015-03-08 3:32 UTC (permalink / raw)
To: linux-wireless
Since libreg uses funcs from the crypto lib, make sure we link them.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 8e345a1..77708e6 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) $^ $(LDLIBS)
install-libreg-headers:
$(NQ) ' INSTALL libreg-headers'
--
2.3.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH crda v2] libreg: link against crypto libs
2015-03-08 3:32 [PATCH crda] libreg: link against crypto libs Mike Frysinger
@ 2015-03-09 22:12 ` Mike Frysinger
0 siblings, 0 replies; 2+ messages in thread
From: Mike Frysinger @ 2015-03-09 22:12 UTC (permalink / raw)
To: linux-wireless
Since libreg uses funcs from the crypto lib, make sure we link them.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
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'
--
2.3.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-03-09 22:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-08 3:32 [PATCH crda] libreg: link against crypto libs Mike Frysinger
2015-03-09 22:12 ` [PATCH crda v2] " Mike Frysinger
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.