]> git.droids-corp.org - dpdk.git/blobdiff - examples/vdpa/Makefile
examples: fix pkg-config detection with older make
[dpdk.git] / examples / vdpa / Makefile
index 734042380797412ab187064574a54af4e31fa783..2ac991a4beb7343701638659cc58fe5eaa52e1fd 100644 (file)
@@ -9,8 +9,7 @@ SRCS-y := main.c
 CFLAGS += -DALLOW_EXPERIMENTAL_API
 
 # 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