]> git.droids-corp.org - dpdk.git/blobdiff - examples/ip_fragmentation/Makefile
examples: fix pkg-config detection with older make
[dpdk.git] / examples / ip_fragmentation / Makefile
index 63b66ce251727b6b4fbcfa8f89167bd441b57b3f..6af25a02e20d838f9039646522add15fba283a11 100644 (file)
@@ -9,8 +9,7 @@ APP = ip_fragmentation
 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