]> git.droids-corp.org - dpdk.git/blobdiff - examples/load_balancer/Makefile
examples: fix pkg-config detection with older make
[dpdk.git] / examples / load_balancer / Makefile
index 09676a57c6a613d1943a90915048c8e3612012e6..caae8a1071a842ba79356b18d065e8e32e53b612 100644 (file)
@@ -8,8 +8,7 @@ APP = load_balancer
 SRCS-y := main.c config.c init.c runtime.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