]> git.droids-corp.org - dpdk.git/blobdiff - examples/bond/Makefile
examples: fix pkg-config detection with older make
[dpdk.git] / examples / bond / Makefile
index 96868f2fc6743500ee8e89cae65a03985e72795a..0229b31bb109695c6a071460d42af9d4a8026303 100644 (file)
@@ -8,8 +8,7 @@ APP = bond_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