net-fs/samba: always pass -Wl,--undefined-version if supported

Closes: https://bugs.gentoo.org/965655
Signed-off-by: Sv. Lockal <lockalsash@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44552
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sv. Lockal 2025-11-09 22:19:05 +08:00 committed by Sam James
parent 910709b5e5
commit 223d1cb4b0
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
6 changed files with 12 additions and 0 deletions

View File

@ -304,6 +304,8 @@ multilib_src_configure() {
myconf+=( --with-shared-modules=DEFAULT,!vfs_snapper )
fi
append-ldflags $(test-flags-CCLD -Wl,--undefined-version) # bug 914898
append-cppflags "-I${ESYSROOT}/usr/include/et"
waf-utils_src_configure ${myconf[@]}

View File

@ -308,6 +308,8 @@ multilib_src_configure() {
myconf+=( --with-shared-modules=DEFAULT,!vfs_snapper )
fi
append-ldflags $(test-flags-CCLD -Wl,--undefined-version) # bug 914898
append-cppflags "-I${ESYSROOT}/usr/include/et"
waf-utils_src_configure ${myconf[@]}

View File

@ -304,6 +304,8 @@ multilib_src_configure() {
myconf+=( --with-shared-modules=DEFAULT,!vfs_snapper )
fi
append-ldflags $(test-flags-CCLD -Wl,--undefined-version) # bug 914898
append-cppflags "-I${ESYSROOT}/usr/include/et"
waf-utils_src_configure ${myconf[@]}

View File

@ -308,6 +308,8 @@ multilib_src_configure() {
myconf+=( --with-shared-modules=DEFAULT,!vfs_snapper )
fi
append-ldflags $(test-flags-CCLD -Wl,--undefined-version) # bug 914898
append-cppflags "-I${ESYSROOT}/usr/include/et"
waf-utils_src_configure ${myconf[@]}

View File

@ -307,6 +307,8 @@ multilib_src_configure() {
myconf+=( --with-shared-modules=DEFAULT,!vfs_snapper )
fi
append-ldflags $(test-flags-CCLD -Wl,--undefined-version) # bug 914898
append-cppflags "-I${ESYSROOT}/usr/include/et"
waf-utils_src_configure ${myconf[@]}

View File

@ -311,6 +311,8 @@ multilib_src_configure() {
myconf+=( --with-shared-modules=DEFAULT,!vfs_snapper )
fi
append-ldflags $(test-flags-CCLD -Wl,--undefined-version) # bug 914898
append-cppflags "-I${ESYSROOT}/usr/include/et"
waf-utils_src_configure ${myconf[@]}