summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2025-04-06 13:56:45 +0200
committerFabian Groffen <grobian@gentoo.org>2025-04-06 13:57:48 +0200
commit2d29048d43fa66df5b8fdbfea8965e5b5a95846e (patch)
tree0b54654a6de11394f25f420e92a4f07d6e13d64f /dev-db
parentbb99f8f369816820c4b979e566ca6300fc2106e3 (diff)
downloadgentoo-2d29048d43fa66df5b8fdbfea8965e5b5a95846e.tar.gz
gentoo-2d29048d43fa66df5b8fdbfea8965e5b5a95846e.tar.bz2
gentoo-2d29048d43fa66df5b8fdbfea8965e5b5a95846e.zip
dev-db/sqlite: fix Darwin install_name (soname) updating for longer paths
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/sqlite/sqlite-3.49.1.ebuild3
-rw-r--r--dev-db/sqlite/sqlite-9999.ebuild3
2 files changed, 6 insertions, 0 deletions
diff --git a/dev-db/sqlite/sqlite-3.49.1.ebuild b/dev-db/sqlite/sqlite-3.49.1.ebuild
index 25ab0c8a1da6..1218150a3805 100644
--- a/dev-db/sqlite/sqlite-3.49.1.ebuild
+++ b/dev-db/sqlite/sqlite-3.49.1.ebuild
@@ -325,6 +325,9 @@ multilib_src_configure() {
if [[ ${CHOST} != *-darwin* ]] ; then
# set SONAME for the library
options+=( --soname=legacy )
+ else
+ # to allow install_name_tool id change
+ append-ldflags -headerpad_max_install_names
fi
# https://sqlite.org/forum/forumpost/4f4d06a9f6683bb9
diff --git a/dev-db/sqlite/sqlite-9999.ebuild b/dev-db/sqlite/sqlite-9999.ebuild
index 2d4ae2f9926b..a8597d10589d 100644
--- a/dev-db/sqlite/sqlite-9999.ebuild
+++ b/dev-db/sqlite/sqlite-9999.ebuild
@@ -321,6 +321,9 @@ multilib_src_configure() {
if [[ ${CHOST} != *-darwin* ]] ; then
# set SONAME for the library
options+=( --soname=legacy )
+ else
+ # to allow install_name_tool id change
+ append-ldflags -headerpad_max_install_names
fi
# https://sqlite.org/forum/forumpost/4f4d06a9f6683bb9