From d5e63d39e0c42b63b88ef811b0c13bc3673ec637 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Tue, 27 Aug 2024 18:36:48 +0100 Subject: [PATCH] Set -headerpad_max_install_names --- Makefile.rules | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.rules b/Makefile.rules index 2c86e077c1..dc90c483c3 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -447,6 +447,7 @@ else ifneq (,$(findstring darwin,$(host_os))) LINK_SHLIB_FLAGS += -compatibility_version $(LIBGAP_COMPAT_VER) LINK_SHLIB_FLAGS += -current_version $(LIBGAP_CURRENT_VER) LINK_SHLIB_FLAGS += -Wl,-single_module + LINK_SHLIB_FLAGS += -headerpad_max_install_names GAP_CPPFLAGS += -DPIC GAP_CFLAGS += -fno-common