git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
examples: fix pkg-config detection with older make
[dpdk.git]
/
examples
/
kni
/
Makefile
diff --git
a/examples/kni/Makefile
b/examples/kni/Makefile
index
46f5926
..
5dc8118
100644
(file)
--- a/
examples/kni/Makefile
+++ b/
examples/kni/Makefile
@@
-8,8
+8,7
@@
APP = kni
SRCS-y := main.c
# Build using pkg-config variables if possible
-$(shell pkg-config --exists libdpdk)
-ifeq ($(.SHELLSTATUS),0)
+ifeq ($(shell pkg-config --exists libdpdk && echo 0),0)
all: shared
.PHONY: shared static