libtool-patches
[Top][All Lists]
Advanced

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

libltdl module search order


From: Gary V. Vaughan
Subject: libltdl module search order
Date: Sat, 25 Nov 2000 03:48:18 +0000
User-agent: Mutt/1.2.5i

Here is a patch to correct the order of searching for an unqualified
module in libltdl.  It is easier to explain by example:

   m4 wants to load a module called m4.la:  without this patch
   lt_dlopen("m4") will try to open the m4 binary and fail rather than
   use the supplied user_search_path to locate m4.la (or m4.so).
   
This solution simply says that if the supplied module has no directory
component, and any of the useful PATH values (user_search_path
LTDL_LIBRARY_PATH etc.) are available, try looking in those locations
before trying the working directory.

Okay to commit?

Cheers,
        Gary.
-- 
  ___              _   ___   __              _         mailto: address@hidden
 / __|__ _ _ ___ _| | / / | / /_ _ _  _ __ _| |_  __ _ ___       address@hidden 
| (_ / _` | '_|// / |/ /| |/ / _` | || / _` | ' \/ _` | _ \
 \___\__,_|_|\_, /|___(_)___/\__,_|\_,_\__, |_||_\__,_|//_/
home page:  /___/                      /___/                  gpg public key:
http://www.oranda.demon.co.uk           http://www.oranda.demon.co.uk/key.asc

Attachment: 2000-11-25-ltdl-search-order.patch
Description: Text document


reply via email to

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