]> git.droids-corp.org - dpdk.git/blobdiff - examples/l2fwd-cat/Makefile
examples: fix pkg-config detection with older make
[dpdk.git] / examples / l2fwd-cat / Makefile
index e83d406b0491d0f86ad56b3558b268d2a70a38e2..c1960d6d34d67c1773fa356cb334b891c3576f1d 100644 (file)
@@ -8,8 +8,7 @@ APP = l2fwd-cat
 SRCS-y := l2fwd-cat.c cat.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