libtool-patches
[Top][All Lists]
Advanced

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

Re: darwin sys_lib_search_path_spec patch


From: Peter O'Gorman
Subject: Re: darwin sys_lib_search_path_spec patch
Date: Thu, 6 Feb 2003 00:13:50 +0900


On Wednesday, February 5, 2003, at 03:55  PM, Robert Boehne wrote:

Which does include /usr/local/lib.
Would you like to submit a patch that adds /usr/local/lib to this
list if it is not present?  Also, is the _dlsearch_path_spec correct
or should it also have /usr/local/lib in it?

Thank you.

I'll look at making a patch for libtool when I have time (hopefully this weekend).

At runtime, according to "man 1 dyld", the following paths are searched for libraries (and because this is dyld handling it, the same applies to dynamic loading).

"${DYLD_LIBRARY_PATH}:${DYLD_FALLBACK_FRAMEWORK_PATH}:${DYLD_FALLBACK_LI BRARY_PATH}"

with DYLD_FALLBACK_FRAMEWORK_PATH defaulting to "$(HOME)/Library/Frameworks:/Library/Frameworks:/Network/Library/ Frameworks:/System/Library/Frameworks" and the default DYLD_FALLBACK_LIBRARY_PATH is "$(HOME)/lib:/usr/local/lib:/lib:/usr/lib"

I don't think libtool need bother with the frameworks, but hey, I could well be wrong :)

Peter





reply via email to

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