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