]> git.droids-corp.org - dpdk.git/blobdiff - examples/l3fwd-acl/Makefile
examples: fix pkg-config detection with older make
[dpdk.git] / examples / l3fwd-acl / Makefile
index d12d3a987cb44b8469df49f6cb8c95e89234597a..e2c989f717cf5b338a524c929c36339c84a91127 100644 (file)
@@ -8,8 +8,7 @@ APP = l3fwd-acl
 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