]> git.droids-corp.org - dpdk.git/blobdiff - examples/vhost/Makefile
examples: fix pkg-config detection with older make
[dpdk.git] / examples / vhost / Makefile
index 5e14006782e3016e2adbfcbaa4aac48040437ca9..f84b7f01720cec170c0458c768ef0a7018870f1f 100644 (file)
@@ -8,8 +8,7 @@ APP = vhost-switch
 SRCS-y := main.c virtio_net.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