[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
hardcode_into_libs patch for branch1-4
From: |
Albert Chin |
Subject: |
hardcode_into_libs patch for branch1-4 |
Date: |
Sat, 12 Oct 2002 17:20:55 -0500 |
User-agent: |
Mutt/1.2.5i |
1. If ld is being used on IRIX to embed the runtmie path, use -rpath,
not -Wl,-rpath.
2. Embed the runtime path into libraries for AIX. This is supported
on AIX 4.3.2+.
3. Embed the runtime path into Tru64 libraries, even though it
doesn't make much sense unless using Tru64 UNIX 5.1 with a
specific patch and >5.1.
2002-10-12 Albert Chin-A-Young <address@hidden>
* libtool.m4: If ld is being used on IRIX to embed the
runtmie path, use -rpath, not -Wl,-rpath. Embed the
runtime path into libraries for AIX (supported on
AIX 4.3.2+). Embed the runtime path into Tru64
libraries, even though it doesn't make much sense
unless using Tru64 UNIX 5.1 with a specific patch
and >5.1.
--
albert chin (address@hidden)
-- snip snip
Index: libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/libtool.m4,v
retrieving revision 1.166.2.43
diff -u -3 -p -r1.166.2.43 libtool.m4
--- libtool.m4 10 Sep 2002 13:50:54 -0000 1.166.2.43
+++ libtool.m4 12 Oct 2002 22:07:09 -0000
@@ -1638,10 +1640,11 @@ else
irix5* | irix6* | nonstopux*)
if test "$GCC" = yes; then
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname
${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring`
${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
else
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname
$soname `test -n "$verstring" && echo -set_version $verstring` -update_registry
${output_objdir}/so_locations -o $lib'
+ hardcode_libdir_flag_spec='-rpath $libdir'
fi
- hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
hardcode_libdir_separator=:
link_all_deplibs=yes
;;
@@ -1998,6 +2001,7 @@ aix4* | aix5*)
fi
shlibpath_var=LIBPATH
fi
+ hardcode_into_libs=yes
;;
amigaos*)
@@ -2247,6 +2251,7 @@ osf3* | osf4* | osf5*)
shlibpath_var=LD_LIBRARY_PATH
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc
/usr/lib /usr/local/lib /var/shlib"
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
+ hardcode_into_libs=yes
;;
sco3.2v5*)
- hardcode_into_libs patch for branch1-4,
Albert Chin <=