Found the fix: run ranlib
on the library or use the -s
flag for ar
:
diff --git a/building/macos64ARMv8/common/Makefile.plugin b/building/macos64ARMv8/common/Makefile.plugin
index bc16f9533..bc4b3849a 100644
--- a/building/macos64ARMv8/common/Makefile.plugin
+++ b/building/macos64ARMv8/common/Makefile.plugin
@@ -180,7 +180,7 @@ ifeq ($(realpath $(PREREQUISITES)),$(abspath $(PREREQUISITES)))
$(PLUGINLIB): $(PLUGINREQS) $(VMDIR) $(OBJDIR) $(LIBOBJ) $(PLUGINFWKS)
-rm $(PLUGINLIB)
- ar -rc $(PLUGINLIB) $(LIBOBJ)
+ ar -rcs $(PLUGINLIB) $(LIBOBJ)
# Either link with normal compiler/linker or with CXX compiler/linker. If
# LINK_WITH_CXX is set, use e.g. clang++
I don't know why this is necessary for me. I am on a new laptop, and while I have Homebrew installed, I don't have any other copy of llvm/ar/etc. in my path -- just Apple's command-line tools.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.