Skip to content

Commit

Permalink
build/pkgs/gap: Add gap-system/gap#5736 as a patch
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Orlitzky <michael@orlitzky.com>
  • Loading branch information
mkoeppe authored and orlitzky committed Sep 13, 2024
1 parent 1850b5c commit 48f33a7
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build/pkgs/gap/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.13.0
4.13.0.p0
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
From 89b95994807970d90671e1e02cc03ddca4cf0a10 Mon Sep 17 00:00:00 2001
From: Matthias Koeppe <mkoeppe@math.ucdavis.edu>
Date: Sat, 8 Jun 2024 14:01:16 -0700
Subject: [PATCH] Makefile.rules [Darwin]: Remove use of '-single_module'
(obsolete), activate '-install_name'

---
Makefile.rules | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/Makefile.rules b/Makefile.rules
index 8bfd3dba0..adfed731f 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -446,10 +446,7 @@ else ifneq (,$(findstring darwin,$(host_os)))
LINK_SHLIB_FLAGS = -dynamiclib
LINK_SHLIB_FLAGS += -compatibility_version $(LIBGAP_COMPAT_VER)
LINK_SHLIB_FLAGS += -current_version $(LIBGAP_CURRENT_VER)
- LINK_SHLIB_FLAGS += -Wl,-single_module
-
- # TODO: set install_name, at least for installed version of the lib?
- #LINK_SHLIB_FLAGS += -install_name $(libdir)/$(LIBGAP_FULL)
+ LINK_SHLIB_FLAGS += -install_name $(libdir)/$(LIBGAP_FULL)

GAP_CPPFLAGS += -DPIC
GAP_CFLAGS += -fno-common
--
2.42.0

0 comments on commit 48f33a7

Please sign in to comment.