blob: 7c2e9477adae2fb26b319c2f0ba714dfc544908b [file] [log] [blame]
Dariusz Kazimierskib5df85e2020-11-23 09:27:55 +01001diff --git a/lib/Makefile b/lib/Makefile
2index 3831172..9ce6f4c 100644
3--- a/lib/Makefile
4+++ b/lib/Makefile
5@@ -51,7 +51,7 @@ YASM ?= yasm
6 NASM ?= nasm
7
8 # Detect NASM version (minimum version required: 2.14)
9-NASM_VERSION = $(shell nasm -v | cut -d " " -f 3)
10+NASM_VERSION = $(shell $(NASM) -v | cut -d " " -f 3)
11
12 NASM_MAJOR_REQ = 2
13 NASM_MINOR_REQ = 14