mirror of
https://https.git.savannah.gnu.org/git/libtool.git
synced 2026-01-26 15:39:10 +00:00
libtool.m4: Update NetBSD postdeps for shared libraries
Reported: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=70978 * m4/libtool.m4: Linking a shared version of 'gcc' is not possible on NetBSD, since the shared version of the library is 'gcc_s'. postdeps have been updated to remove gcc. * NEWS: Update.
This commit is contained in:
parent
3bd36a0ff4
commit
c7be1f229c
2
NEWS
2
NEWS
@ -13,6 +13,8 @@ NEWS - list of user-visible changes between releases of GNU Libtool
|
||||
|
||||
- Fix wrongly deduplicated compiler dependencies on linux.
|
||||
|
||||
- Fix NetBSD postdeps for shared libraries.
|
||||
|
||||
|
||||
* Noteworthy changes in release 2.5.4 (2024-11-20) [stable]
|
||||
|
||||
|
||||
2
m4/libtool.m4
vendored
2
m4/libtool.m4
vendored
@ -7315,7 +7315,7 @@ if test yes != "$_lt_caught_CXX_error"; then
|
||||
_LT_TAGVAR(hardcode_shlibpath_var, $1)=no
|
||||
fi
|
||||
# Workaround some broken pre-1.5 toolchains
|
||||
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
|
||||
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:--as-needed -lgcc_s --no-as-needed -lgcc -lc --as-needed -lgcc_s --no-as-needed -lgcc::"'
|
||||
;;
|
||||
|
||||
*nto* | *qnx*)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user