summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-09-22 18:34:07 +0000
committerMike Frysinger <vapier@gentoo.org>2004-09-22 18:34:07 +0000
commitb5dd7734fa62f782565fb571d82f5cd361531ca2 (patch)
treebc40bbe802a485cadc194cf80ec30525aa53eda0 /eclass/ELT-patches
parentuclibctoolize to fix libtool code found in configure scripts (diff)
downloadhistorical-b5dd7734fa62f782565fb571d82f5cd361531ca2.tar.gz
historical-b5dd7734fa62f782565fb571d82f5cd361531ca2.tar.bz2
historical-b5dd7734fa62f782565fb571d82f5cd361531ca2.zip
patch uclibctoolize uses
Diffstat (limited to 'eclass/ELT-patches')
-rw-r--r--eclass/ELT-patches/uclibc/configure.patch48
1 files changed, 48 insertions, 0 deletions
diff --git a/eclass/ELT-patches/uclibc/configure.patch b/eclass/ELT-patches/uclibc/configure.patch
new file mode 100644
index 000000000000..acd804c8f404
--- /dev/null
+++ b/eclass/ELT-patches/uclibc/configure.patch
@@ -0,0 +1,48 @@
+--- configure.libltdl~ Fri Jun 11 08:54:04 2004
++++ configure Fri Jun 11 08:56:33 2004
+@@ -1978,6 +1978,11 @@
+ lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
+ ;;
+
++linux-uclibc*)
++ lt_cv_deplibs_check_method=pass_all
++ lt_cv_file_magic_test_file=`echo /lib/libuClibc*.so`
++ ;;
++
+ netbsd*)
+ if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+ lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
+@@ -3030,7 +3035,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
+
+@@ -4504,6 +4509,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*)
+ version_type=sunos
+ need_lib_prefix=no