Make dotnet module optional
@@ -3,7 +3,6 @@ MODULES = modules/tests.c
MODULES += modules/pe.c
MODULES += modules/elf.c
MODULES += modules/math.c
-MODULES += modules/dotnet.c
if CUCKOO_MODULE
MODULES += modules/cuckoo.c
@@ -17,6 +16,10 @@ if HASH_MODULE
MODULES += modules/hash.c
endif
+if DOTNET_MODULE
+MODULES += modules/dotnet.c
+endif
+
# This isn't really a module, but needs to be compiled with them.
MODULES += modules/pe_utils.c
