Skip to content

Commit c0b457d

Browse files
committed
Do not include libraries in goto-instrument.a
The library archive in goto-instrument included several other archives, which caused spurious failures ("file format not recognized") when trying to link unit tests.
1 parent 401a46c commit c0b457d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/goto-instrument/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ endif
112112
goto-instrument$(EXEEXT): $(OBJ)
113113
$(LINKBIN)
114114

115-
goto-instrument$(LIBEXT): $(OBJ)
115+
goto-instrument$(LIBEXT): $(SRC:.cpp=$(OBJEXT))
116116
$(LINKLIB)
117117

118118
.PHONY: goto-instrument-mac-signed

0 commit comments

Comments
 (0)