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
/
load_balancer
/
Makefile
diff --git
a/examples/load_balancer/Makefile
b/examples/load_balancer/Makefile
index
09676a5
..
caae8a1
100644
(file)
--- a/
examples/load_balancer/Makefile
+++ b/
examples/load_balancer/Makefile
@@
-8,8
+8,7
@@
APP = load_balancer
SRCS-y := main.c config.c init.c runtime.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