do not overwrite WINIX_INSTALL_DIR if already set

This commit is contained in:
2024-03-11 16:59:45 +01:00
parent c1c6e6a588
commit de753070a8

View File

@@ -51,7 +51,13 @@ endif
# for make install
ifndef WINIX_INSTALL_DIR
WINIX_INSTALL_DIR=/usr/local/winix
endif
ifeq ($(WINIX_INSTALL_DIR),)
$(error WINIX_INSTALL_DIR env variable cannot be empty)
endif
export CXX