]> git.droids-corp.org - dpdk.git/blobdiff - examples/ipsec-secgw/Makefile
examples: fix pkg-config detection with older make
[dpdk.git] / examples / ipsec-secgw / Makefile
index 1bfaf3b9ade2b0971aac0c15535828bc7e5b6fd8..851123be58ae43cc9255e93913530c9351c7242d 100644 (file)
@@ -19,8 +19,7 @@ SRCS-y += ipsec-secgw.c
 CFLAGS += -gdwarf-2
 
 # 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