multiarch libsdl2-dev package?

Gianfranco Costamagna locutusofborg at debian.org
Sat Aug 5 10:15:53 UTC 2017


Hello,

>What's the problem with libdir, that it's set to
>/usr/lib/${arch_triplet} so it cannot be the same package for all
>architectures?


exactly, and we provide that tool in usr/bin, so
the same file has different md5sums
(look at libpng1.6 where we had to do the same thing)

Since we have already ld.so.conf with multiarch directories, I don't really
see the need to have that -L${triplet} stuff
>In principle I am fine with this, but I'd like to know the plans about
>upstreaming this change or asking them for a suitable alternative, so
>we do not have to carry the patch over forever.


I wondered the same while writing the patch, but I preferred to discuss in 

mail list before putting upstream in the loop (I did that now)
https://anonscm.debian.org/cgit/pkg-sdl/packages/libsdl2.git/commit/?id=d461026ee1fcbc930d51c6ce51d343ef9ef7fcc2

Sam, having different libdir values breaks our multiarch package, do you have any issue in dropping the above parts?

I think there is no point in adding -Llibdir, because the distro-provided libraries should be giving already the correct path.

Moreover, pkg-config is already returning only the library
$ pkg-config --libs sdl2
-lSDL2


not sure if this is because of pkg-config debian patches or not.

However, ld.so.conf.d should be giving the correct list of directories, on mostly all the linux systems.

G.



More information about the Pkg-sdl-maintainers mailing list