File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -153,10 +153,8 @@ jobs:
153153
154154 # Force inclusion of critical objects that might be missing from OBJS or libtinker.a target
155155 # The linker error "undefined reference to __potent_MOD_use_geom" means potent.o is missing
156- grep -q "potent.o" Makefile || echo "OBJS += potent.o" >> Makefile
157- grep -q "action.o" Makefile || echo "OBJS += action.o" >> Makefile
158- grep -q "energi.o" Makefile || echo "OBJS += energi.o" >> Makefile
159- grep -q "boxes.o" Makefile || echo "OBJS += boxes.o" >> Makefile
156+ # We append them unconditionally to OBJS to be safe (grep can fail on partial matches like "potential.o")
157+ echo "OBJS += potent.o action.o energi.o boxes.o" >> Makefile
160158
161159 # Ensure OBJS is used in libtinker.a target
162160 # Some Makefiles list objects explicitly in the ar command, which might be incomplete
You can’t perform that action at this time.
0 commit comments