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