summaryrefslogtreecommitdiff
path: root/buildlib/defaults.mak
diff options
context:
space:
mode:
Diffstat (limited to 'buildlib/defaults.mak')
-rw-r--r--buildlib/defaults.mak3
1 files changed, 2 insertions, 1 deletions
diff --git a/buildlib/defaults.mak b/buildlib/defaults.mak
index 47f297cdf..6e504390c 100644
--- a/buildlib/defaults.mak
+++ b/buildlib/defaults.mak
@@ -79,6 +79,8 @@ PROGRAM_H = $(BASE)/buildlib/program.mak
COPY_H = $(BASE)/buildlib/copy.mak
YODL_MANPAGE_H = $(BASE)/buildlib/yodl_manpage.mak
+include $(BUILD)/environment.mak
+
ifdef STATICLIBS
LIBRARY_H += $(BASE)/buildlib/staticlibrary.mak
endif
@@ -100,7 +102,6 @@ SUBDIRS+=
HEADER_TARGETDIRS+=
# Options
-include $(BUILD)/environment.mak
CPPFLAGS+= -I$(INCLUDE)
LDFLAGS+= -L$(LIB)