Dependent objects were not being built, e.g., amc.o was built, but not amc/ttc.o.
As such, they were not being triggered by the shared object rule that was designed to
add them to the amc.so shared object.
Description
Modify the .so pattern rule to do a .SECONDEXPANSION and dynamically include all object files matching the stem, e.g., the rule will build this automatically based on
Dependent objects were not being built, e.g.,
amc.o
was built, but notamc/ttc.o
. As such, they were not being triggered by the shared object rule that was designed to add them to theamc.so
shared object.Description
Modify the
.so
pattern rule to do a.SECONDEXPANSION
and dynamically include all object files matching the stem, e.g., the rule will build this automatically based onexpanding into
Types of changes
Motivation and Context
Compartmentalized objects to simplify code were not being included into the associated shared object.
How Has This Been Tested?
Tested on rebased Reed--Muller branch; compiles as expected, symbols are properly linked
Screenshots (if appropriate):
Checklist: