diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-09-22 18:34:07 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-09-22 18:34:07 +0000 |
commit | 1cd3433e644c186951046ee273666d70a2cbc4d5 (patch) | |
tree | 00dcc829542f9c4a7b1de22f7fd6781ace79d69d /eclass/ELT-patches | |
parent | uclibctoolize to fix libtool code found in configure scripts (diff) | |
download | gentoo-2-1cd3433e644c186951046ee273666d70a2cbc4d5.tar.gz gentoo-2-1cd3433e644c186951046ee273666d70a2cbc4d5.tar.bz2 gentoo-2-1cd3433e644c186951046ee273666d70a2cbc4d5.zip |
patch uclibctoolize uses
Diffstat (limited to 'eclass/ELT-patches')
-rw-r--r-- | eclass/ELT-patches/uclibc/configure.patch | 48 |
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 |