From b7292d4bd4a36856cb5b4d8ddf1ba8411d5532f7 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 7 Apr 2025 07:06:10 +0000 Subject: [PATCH] dev-db/sqlite: Sync with Gentoo It's from Gentoo commit 2d29048d43fa66df5b8fdbfea8965e5b5a95846e. --- .../portage-stable/dev-db/sqlite/sqlite-3.49.1.ebuild | 3 +++ .../portage-stable/dev-db/sqlite/sqlite-9999.ebuild | 3 +++ 2 files changed, 6 insertions(+) diff --git a/sdk_container/src/third_party/portage-stable/dev-db/sqlite/sqlite-3.49.1.ebuild b/sdk_container/src/third_party/portage-stable/dev-db/sqlite/sqlite-3.49.1.ebuild index 25ab0c8a1d..1218150a38 100644 --- a/sdk_container/src/third_party/portage-stable/dev-db/sqlite/sqlite-3.49.1.ebuild +++ b/sdk_container/src/third_party/portage-stable/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/sdk_container/src/third_party/portage-stable/dev-db/sqlite/sqlite-9999.ebuild b/sdk_container/src/third_party/portage-stable/dev-db/sqlite/sqlite-9999.ebuild index 2d4ae2f992..a8597d1058 100644 --- a/sdk_container/src/third_party/portage-stable/dev-db/sqlite/sqlite-9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/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