[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Use ldconfig to generate sys_lib_dlsearch_path_spec
From: |
Pavel Raiskup |
Subject: |
Re: [PATCH] Use ldconfig to generate sys_lib_dlsearch_path_spec |
Date: |
Sat, 06 Dec 2014 14:36:23 +0100 |
User-agent: |
KMail/4.14.3 (Linux/3.17.3-200.fc20.x86_64; KDE/4.14.3; x86_64; ; ) |
On Friday 05 of December 2014 12:11:57 Gary V. Vaughan wrote:
> > Yes, we can use ac_cv_.... workaround globally, but that is not
> > ideal as this turns off the ld.so.conf parsing in libtool (which works
> > pretty well to reimplement).
> >
> > ... so yet another idea. What about have some API environment variable
> > _enhancing_ the library path detected by libtool?
>
> Great idea! Yes, that is a good middle ground without any safety concerns on
> my part; I'd be very happy to apply a patch along those lines.
Iteration #0. Patch (for discussion, not push) implementing configure
time PREPEND_LIB_DLSEARCH_PATH variable. Possible enhancements for future
could be {APPEND_,}LIB_DLSEARCH_PATH and
{,APPEND_,PREPEND_}LIB_SEARCH_PATH.
Questions:
* Is the name good-enough? Any namespace should be used?
* should I use AC_ARG_VAR rather?
Benefits would be:
* No need to touch ac_cv_* at least for our (Fedora) case.
* Can be easily set in ${prefix}/share/config.site.
* Does not break libtool's dlsearch path guesses.
* Avoiding hard-wiring list of $host_cpu.
* Should be fully backward compatible.
Thoughts?
Pavel
prepend-lib-dlsearch-path.patch
Description: Text Data
- Re: [PATCH] Use ldconfig to generate sys_lib_dlsearch_path_spec, Gary V. Vaughan, 2014/12/04
- Re: [PATCH] Use ldconfig to generate sys_lib_dlsearch_path_spec, Pavel Raiskup, 2014/12/05
- Re: [PATCH] Use ldconfig to generate sys_lib_dlsearch_path_spec, Gary V. Vaughan, 2014/12/05
- Re: [PATCH] Use ldconfig to generate sys_lib_dlsearch_path_spec, Pavel Raiskup, 2014/12/05
- Re: [PATCH] Use ldconfig to generate sys_lib_dlsearch_path_spec, Gary V. Vaughan, 2014/12/05
- Re: [PATCH] Use ldconfig to generate sys_lib_dlsearch_path_spec,
Pavel Raiskup <=
- Re: [PATCH] Use ldconfig to generate sys_lib_dlsearch_path_spec, Pavel Raiskup, 2014/12/08
- Re: [PATCH] Use ldconfig to generate sys_lib_dlsearch_path_spec, Gary V. Vaughan, 2014/12/08
- Tune rpath by env. variable (was: Use ldconfig to generate sys_lib_dlsearch_path_spec), Pavel Raiskup, 2014/12/09
- Re: Tune rpath by env. variable (was: Use ldconfig to generate sys_lib_dlsearch_path_spec), Gary V. Vaughan, 2014/12/09
- Re: Tune rpath by env. variable, Pavel Raiskup, 2014/12/09
- Re: Tune rpath by env. variable, Gary V. Vaughan, 2014/12/09
- Re: Tune rpath by env. variable, Pavel Raiskup, 2014/12/10
- Re: Tune rpath by env. variable, Gary V. Vaughan, 2014/12/11
- Re: Tune rpath by env. variable, Pavel Raiskup, 2014/12/12
- Re: Tune rpath by env. variable, Gary V. Vaughan, 2014/12/12