diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-12-25 13:34:20 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-12-25 13:35:57 +0100 |
commit | 4883176fd8a7afb085cce9d893d016ff9d08b764 (patch) | |
tree | 04aa350a315defed9d639ee7cef44fcd777566f3 | |
parent | ec1db803f01ac6b59d3fae38f62c397825d7bed8 (diff) | |
download | serenity-4883176fd8a7afb085cce9d893d016ff9d08b764.zip |
Build: Make sure we build everyone's STATIC_LIB_DEPS first
If a program's compilation depends on something generated by a library,
we need to make sure that library is built before any of the program's
own compilation units.
-rw-r--r-- | Makefile.common | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.common b/Makefile.common index e34944b995..6f7fe299d6 100644 --- a/Makefile.common +++ b/Makefile.common @@ -89,7 +89,7 @@ endif @echo "AS $@" $(QUIET) $(AS) -o $@ $< -$(PROGRAM): $(SUFFIXED_OBJS) $(EXTRA_OBJS) $(STATIC_LIB_DEPS) +$(PROGRAM): $(STATIC_LIB_DEPS) $(SUFFIXED_OBJS) $(EXTRA_OBJS) @echo "LINK $(PROGRAM)" $(QUIET) $(CXX) -o $(PROGRAM) $(EXTRA_OBJS) $(SUFFIXED_OBJS) $(LDFLAGS) |