On Wednesday 2013-03-27 14:25, Stefan Seyfried wrote:
Am 26.03.2013 22:01, schrieb darx@sent.com:
On Tue, Mar 26, 2013, at 01:50 PM, Stefan Seyfried wrote:
Wrong.
And how do you select wich liblua.so is used for linking (without ugly hacks?)
add "-Wl,-rpath,$(path to whichever liblua.so)" to LDFLAGS or equivalent
That's what I meant with "ugly hacks" ;-)
I personally think the current solution is fine: different liblua* packages are installable in parallel but only one lua-devel. I'd rather not go through update-alternatives to switch all include-files and the library symlinks.
The simple solution would be for upstream to provide a library with SONAME liblua-5.1.so instead of liblua.so.5.1, then this would all be a no-brainer because you could start using -llua-5.1. (And a liblua.so symlink can be switched according to taste.) It's that simple. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org