...@@ -111,4 +111,17 @@ ifeq ($(shell brew ls --versions libmagic),) ...@@ -111,4 +111,17 @@ ifeq ($(shell brew ls --versions libmagic),)
else else
@echo "Found libmagic version: $(shell brew ls --versions libmagic). Skipping" @echo "Found libmagic version: $(shell brew ls --versions libmagic). Skipping"
endif endif
endif
ifeq ($(CCFLAGS),LINUX)
ifeq ($(shell apt list --installed | grep libmagic-dev),)
@echo "${RED}--------------------------------------------------------------------------------------------${NC}"
@echo "---> ${RED}LIBMAGIC not found. Please use the command below to install it. ${NC}\n"
@echo "\t${RED}apt install libmagic-dev${NC}"
@echo ""
@echo "${RED}--------------------------------------------------------------------------------------------${NC}"
exit 1
else
@echo "Found libmagic-dev. Skipping"
endif
endif endif
\ No newline at end of file