projects
/
platform
/
upstream
/
crda.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8373043
)
crda: report if no supported version of libnl is found
author
Pavel Roskin
<proski@gnu.org>
Fri, 30 Jan 2009 22:33:06 +0000
(14:33 -0800)
committer
Luis R. Rodriguez
<lrodriguez@atheros.com>
Mon, 2 Feb 2009 22:53:48 +0000
(14:53 -0800)
Otherwise, the error messase would be very confusing.
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
aaa9ca6
..
461103d
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-52,6
+52,10
@@
NLLIBS += -lnl-genl
NLLIBNAME = libnl-2.0
endif
+ifeq ($(NLLIBNAME),)
+$(error Cannot find development files for any supported version of libnl)
+endif
+
NLLIBS += `pkg-config --libs $(NLLIBNAME)`
CFLAGS += `pkg-config --cflags $(NLLIBNAME)`