79 lines
2.1 KiB
Diff
79 lines
2.1 KiB
Diff
--- a/bfd/configure
|
|
+++ b/bfd/configure
|
|
@@ -3580,6 +3580,11 @@
|
|
lt_cv_deplibs_check_method=pass_all
|
|
;;
|
|
|
|
+linux-uclibc*)
|
|
+ lt_cv_deplibs_check_method=pass_all
|
|
+ lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
|
|
+ ;;
|
|
+
|
|
netbsd* | knetbsd*-gnu)
|
|
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
|
|
lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
|
|
--- a/libtool.m4
|
|
+++ b/libtool.m4
|
|
@@ -751,6 +751,11 @@
|
|
fi
|
|
;;
|
|
|
|
+linux-uclibc*)
|
|
+ lt_cv_deplibs_check_method=pass_all
|
|
+ lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
|
|
+ ;;
|
|
+
|
|
newsos6)
|
|
[lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)']
|
|
lt_cv_file_magic_cmd=/usr/bin/file
|
|
--- a/ltconfig
|
|
+++ b/ltconfig
|
|
@@ -602,7 +602,7 @@
|
|
|
|
# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
|
|
case $host_os in
|
|
-linux-gnu*) ;;
|
|
+linux-gnu*|linux-uclibc*) ;;
|
|
linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
|
|
esac
|
|
|
|
@@ -1270,6 +1270,24 @@
|
|
dynamic_linker='GNU/Linux ld.so'
|
|
;;
|
|
|
|
+linux-uclibc*)
|
|
+ version_type=linux
|
|
+ need_lib_prefix=no
|
|
+ need_version=no
|
|
+ library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
|
|
+ soname_spec='${libname}${release}.so$major'
|
|
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
|
|
+ shlibpath_var=LD_LIBRARY_PATH
|
|
+ shlibpath_overrides_runpath=no
|
|
+ # This implies no fast_install, which is unacceptable.
|
|
+ # Some rework will be needed to allow for fast_install
|
|
+ # before this can be enabled.
|
|
+ # Note: copied from linux-gnu, and may not be appropriate.
|
|
+ hardcode_into_libs=yes
|
|
+ # Assume using the uClibc dynamic linker.
|
|
+ dynamic_linker="uClibc ld.so"
|
|
+ ;;
|
|
+
|
|
netbsd*)
|
|
need_lib_prefix=no
|
|
need_version=no
|
|
--- a/opcodes/configure
|
|
+++ b/opcodes/configure
|
|
@@ -3591,6 +3591,11 @@
|
|
fi
|
|
;;
|
|
|
|
+linux-uclibc*)
|
|
+ lt_cv_deplibs_check_method=pass_all
|
|
+ lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
|
|
+ ;;
|
|
+
|
|
newsos6)
|
|
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
|
|
lt_cv_file_magic_cmd=/usr/bin/file
|