* David Paleino <da...@debian.org>, 2010-09-05, 23:36:
>+ lib_name = find_library('las')This works (at least for the time being), but I don't think it is appropriate, as it can cause troubles in future. AFAIUI python-liblas relies on the current ABI of liblas, so the SONAME should be hardcoded here.As you said in #595608, hardcoding the SONAME in find_library() isn't the right usage (and it doesn't work at all). So you're suggesting to use something like: lib_name = find_library('las')[:-1] + '1' ? This seems hacky to me, but it's the "hardcoding" you're asking for.
I thought about not using find_library at all, just: lib_name = 'liblas.so.1' -- Jakub Wilk
signature.asc
Description: Digital signature