mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-misc/stunnel: handle mimalloc's .so filename
libmimalloc.so will be libmimalloc-secure.so if dev-libs/mimalloc is built with USE="hardened" Thanks-to: Jiri Netolicky <netolicky@epos.cd.cz> Closes: https://bugs.gentoo.org/956606 Closes: https://bugs.gentoo.org/956616 Signed-off-by: Z. Liu <zhixu.liu@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/43013 Closes: https://github.com/gentoo/gentoo/pull/43013 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
15
net-misc/stunnel/files/stunnel-5.74-hardened-mimalloc.patch
Normal file
15
net-misc/stunnel/files/stunnel-5.74-hardened-mimalloc.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
.so of mimalloc will be libmimalloc-secure.so if build with
|
||||
"-DMI_SECURE=ON" (USE="hardended" in Gentoo).
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index c647b5c..e2b1f55 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -225,7 +225,7 @@ AC_SEARCH_LIBS([openpty], [util])
|
||||
AC_SEARCH_LIBS([dlopen], [dl])
|
||||
AC_SEARCH_LIBS([shl_load], [dld])
|
||||
# Checks for optional libraries
|
||||
-AC_SEARCH_LIBS([mi_malloc], [mimalloc])
|
||||
+AC_SEARCH_LIBS([mi_malloc], [mimalloc mimalloc-secure])
|
||||
|
||||
# Add BeOS libraries
|
||||
if test "x${host_os}" = "xbeos"; then
|
||||
@@ -43,6 +43,7 @@ BDEPEND="
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-5.71-dont-clobber-fortify-source.patch
|
||||
"${FILESDIR}"/${PN}-5.71-respect-EPYTHON-for-tests.patch
|
||||
"${FILESDIR}"/${PN}-5.74-hardened-mimalloc.patch
|
||||
)
|
||||
|
||||
python_check_deps() {
|
||||
|
||||
@@ -43,6 +43,7 @@ BDEPEND="
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-5.71-dont-clobber-fortify-source.patch
|
||||
"${FILESDIR}"/${PN}-5.71-respect-EPYTHON-for-tests.patch
|
||||
"${FILESDIR}"/${PN}-5.74-hardened-mimalloc.patch
|
||||
)
|
||||
|
||||
python_check_deps() {
|
||||
|
||||
Reference in New Issue
Block a user