diff --git a/dev-db/sqlite/sqlite-3.49.1.ebuild b/dev-db/sqlite/sqlite-3.49.1.ebuild index 25ab0c8a1da61..1218150a38050 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 2d4ae2f9926b2..a8597d10589da 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