summaryrefslogtreecommitdiffstats
path: root/build/external/patches/ipsec-mb_0.55/0001-nasm-ver-check-fix.patch
blob: 7c2e9477adae2fb26b319c2f0ba714dfc544908b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/lib/Makefile b/lib/Makefile
index 3831172..9ce6f4c 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -51,7 +51,7 @@ YASM ?= yasm
 NASM ?= nasm
 
 # Detect NASM version (minimum version required: 2.14)
-NASM_VERSION = $(shell nasm -v | cut -d " " -f 3)
+NASM_VERSION = $(shell $(NASM) -v | cut -d " " -f 3)
 
 NASM_MAJOR_REQ = 2
 NASM_MINOR_REQ = 14