Skip to content

Commit 22b2da3

Browse files
committed
macOS fix
1 parent e1e7bc7 commit 22b2da3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ build-info.h: $(GIT_INDEX)
196196

197197

198198
main: examples/main/main.cpp build-info.h ggml.o llama.o common.o $(OBJS)
199-
$(CXX) $(CXXFLAGS) $^ -o $@ $(LDFLAGS)
199+
$(CXX) $(CXXFLAGS) $(filter-out build-info.h,$^) -o $@ $(LDFLAGS)
200200
@echo
201201
@echo '==== Run ./main -h for help. ===='
202202
@echo

0 commit comments

Comments
 (0)