[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: per-deplib static/dynamic flags
From: |
Ralf Wildenhues |
Subject: |
Re: per-deplib static/dynamic flags |
Date: |
Mon, 30 Jan 2006 22:30:17 +0100 |
User-agent: |
Mutt/1.5.9i |
* Ralf Wildenhues wrote on Mon, Jan 30, 2006 at 06:25:30PM CET:
>
> I will followup to this mail (to libtool-patches only for size) with a
> patch to implement per-deplib flags for programs (for CVS HEAD) and add
> comprehensive tests for the static flags.
This fixes the failure uncovered by the new tests posted previously.
OK to apply?
Cheers,
Ralf
* libltdl/config/ltmain.m4sh (func_mode_link): Fix logic for
adding run paths to also add paths for installed libtool
libraries in case `-static' is used.
Index: libltdl/config/ltmain.m4sh
===================================================================
RCS file: /cvsroot/libtool/libtool/libltdl/config/ltmain.m4sh,v
retrieving revision 1.32
diff -u -r1.32 ltmain.m4sh
--- libltdl/config/ltmain.m4sh 30 Jan 2006 20:20:54 -0000 1.32
+++ libltdl/config/ltmain.m4sh 30 Jan 2006 21:20:44 -0000
@@ -3594,7 +3594,9 @@
if test "$linkmode,$pass" = "prog,link"; then
if test -n "$library_names" &&
- { test "$prefer_static_libs" = no || test -z "$old_library"; };
then
+ { { test "$prefer_static_libs" = no ||
+ test "$prefer_static_libs,$installed" = "built,yes"; } ||
+ test -z "$old_library"; }; then
# We need to hardcode the library path
if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then
# Make sure the rpath contains only unique directories.