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