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