mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:37:34 +00:00
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.
This commit is contained in:
parent
ec1db803f0
commit
4883176fd8
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ endif
|
||||||
@echo "AS $@"
|
@echo "AS $@"
|
||||||
$(QUIET) $(AS) -o $@ $<
|
$(QUIET) $(AS) -o $@ $<
|
||||||
|
|
||||||
$(PROGRAM): $(SUFFIXED_OBJS) $(EXTRA_OBJS) $(STATIC_LIB_DEPS)
|
$(PROGRAM): $(STATIC_LIB_DEPS) $(SUFFIXED_OBJS) $(EXTRA_OBJS)
|
||||||
@echo "LINK $(PROGRAM)"
|
@echo "LINK $(PROGRAM)"
|
||||||
$(QUIET) $(CXX) -o $(PROGRAM) $(EXTRA_OBJS) $(SUFFIXED_OBJS) $(LDFLAGS)
|
$(QUIET) $(CXX) -o $(PROGRAM) $(EXTRA_OBJS) $(SUFFIXED_OBJS) $(LDFLAGS)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue