forked from sagemath/sage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build/pkgs/gap: Add gap-system/gap#5736 as a patch
Signed-off-by: Michael Orlitzky <michael@orlitzky.com>
- Loading branch information
Showing
2 changed files
with
30 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
4.13.0 | ||
4.13.0.p0 |
29 changes: 29 additions & 0 deletions
29
build/pkgs/gap/patches/0001-Makefile.rules-Darwin-Remove-use-of-single_module-ob.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|