From 98f6b50ad40f14e7bfa7bbdf7484610ae8e2aa1f Mon Sep 17 00:00:00 2001 From: Eliot Miranda Date: Sun, 23 Feb 2020 16:37:23 -0800 Subject: [PATCH] Fix recently broken 32-bit Mac builds by adding -Wl,-headerpad_max_install_names to allow for more rpaths in the executable. --- build.macos32x86/common/Makefile.vm | 1 + 1 file changed, 1 insertion(+) diff --git a/build.macos32x86/common/Makefile.vm b/build.macos32x86/common/Makefile.vm index c2d375165b..79e12e358c 100644 --- a/build.macos32x86/common/Makefile.vm +++ b/build.macos32x86/common/Makefile.vm @@ -208,6 +208,7 @@ ignore := $(addsuffix .%, $(basename $(wildcard $(BUILD)/vm/*.ignore))) $(OBJDIR)/$(VM): $(OBJDIR) $(VMOBJ) $(LIBS) $(CC) -arch $(TARGET_ARCH) -o $(OBJDIR)/version.o $(CFLAGS) $(INCLUDES) $(DEFS) -c $(OSXCOMMONDIR)/version.c $(CC) -arch $(TARGET_ARCH) -isysroot $(SDK) $(LDFLAGS) $(FRAMEWORKS) \ + -Wl,-headerpad_max_install_names \ -o $(OBJDIR)/$(VM) $(VMOBJ) $(filter-out $(call ignore), $(LIBS)) $(OBJDIR)/validImage: $(OBJDIR)/validImage.o $(OBJDIR)/sqUnixSpurMemory.o $(OBJDIR)/sqHeapMap.o