On 2010-04-03, Cédric Cabessa wrote: > libnotmuch.so is in my personal folder, I'd like to use LD_LIBRARY_PATH for > that. > The problem is that find_library does not read this variable, but hopefully > CDLL does. > > I suggest to not use find_library. If the library do not exist, we just have > to catch the exception. > The other advantage is that CDLL allow us to choose a library version > (find_library will always take the latest). Sounds reasonable enough. When I coded this, there was no official library version yet, so searching for the latest sounded useful enough. Now that we have an official shared lib, I'm just going to apply your patch. Thanks, hope it is useful Sebastian