Skip to content

Commit

Permalink
cptests: Link settings.o into test executable
Browse files Browse the repository at this point in the history
When not using LTO, the missing object causes a link-time error.
  • Loading branch information
davmac314 committed Sep 12, 2024
1 parent c0be764 commit 3e58b29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/cptests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ALL_TEST_LDFLAGS=$(TEST_LDFLAGS) $(TEST_LDFLAGS_EXTRA)

objects = cptests.o
parent_test_objects = ../test-bpsys.o ../test-dinit.o ../test-run-child-proc.o
parent_objs = control.o dinit-log.o service.o load-service.o proc-service.o baseproc-service.o dinit-env.o
parent_objs = control.o dinit-log.o service.o load-service.o proc-service.o baseproc-service.o dinit-env.o settings.o

check: build-tests run-tests

Expand Down

0 comments on commit 3e58b29

Please sign in to comment.