libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Hardcode runtime path into libraries on IRIX


From: Albert Chin
Subject: Hardcode runtime path into libraries on IRIX
Date: Wed, 22 Jan 2003 09:59:00 -0600
User-agent: Mutt/1.4i

Hardcode library paths into libraries on IRIX.

2003-01-22  Albert Chin-A-Young  <address@hidden>

        * libtool.m4: Hardcode library paths into libraries on IRIX.

-- 
albert chin (address@hidden)

-- snip snip
Index: libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/libtool.m4,v
retrieving revision 1.291
diff -u -3 -p -r1.291 libtool.m4
--- libtool.m4  19 Jan 2003 00:18:06 -0000      1.291
+++ libtool.m4  22 Jan 2003 15:56:39 -0000
@@ -1355,6 +1354,7 @@ irix5* | irix6* | nonstopux*)
   shlibpath_overrides_runpath=no
   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} 
/usr/local/lib${libsuff}"
   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
+  hardcode_into_libs=yes
   ;;
 
 # No shared lib support for Linux oldld, aout, or coff.
@@ -5286,6 +5277,7 @@ EOF
        _LT_AC_TAGVAR(archive_cmds, $1)='$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'
       else
        _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs 
$linker_flags -soname $soname `test -n "$verstring" && echo -set_version 
$verstring` -update_registry ${output_objdir}/so_locations -o $lib'
+       _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
       fi
       _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
       _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:




reply via email to

[Prev in Thread] Current Thread [Next in Thread]