[Top][All Lists]

[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 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

* 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/
* Does not break libtool's dlsearch path guesses.
* Avoiding hard-wiring list of $host_cpu.
* Should be fully backward compatible.



Attachment: prepend-lib-dlsearch-path.patch
Description: Text Data

reply via email to

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