libtool
[Top][All Lists]
Advanced

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

Re: Tune rpath by env. variable


From: Pavel Raiskup
Subject: Re: Tune rpath by env. variable
Date: Wed, 10 Dec 2014 19:41:07 +0100
User-agent: KMail/4.14.3 (Linux/3.17.4-200.fc20.x86_64; KDE/4.14.3; x86_64; ; )

On Tuesday 09 of December 2014 19:38:53 Gary V. Vaughan wrote:
> > .. however, maybe you think that quite problematic the share with ltdl.m4
> > (via sys_lib_dlsearch_path).  That is ?clearly? configure-time only
> > variable which generates variable LT_DLSEARCH_PATH in c-header file.
> 
> We will probably need to promote the macros required to support that to
> libtool.m4 now that we care about setting sys_dlsearch_path_spec, without
> requiring every package to use ltdl.m4.
> 
> > In this case, using LT_SYS_LIBRARY_PATH at runtime would differentiate
> > LT_DLSEARCH_PATH with libtool's 'sys_dlsearch_path_spec' ... and could
> > cause confusion later.
> 
> It's a lot of variables, but technically it seems sound to me.
> 
> > Hmm, due to its requirments, it seems like LT_SYS_LIBRARY_PATH should be
> > AC_ARG_VAR-ed.  The system-wide libtool should be pre-configured correctly
> > according to system's needs anyway.  WDYT?
> 
> I think it would be easier to have both installed and in-tree libtool
> respect LT_SYS_LIBRARY_PATH, otherwise we have to edit the installed script
> to take out the substitution code.

Hi Gary, I tried to patch libtool according to previous discussion.
That requires good review, however.  Patch attached.

Pavel

Attachment: 0001-libtool-allow-adjusting-run-time-library-path.patch
Description: Text Data


reply via email to

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