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