Open belegdol opened 2 years ago
Can't you just override --libdir=/usr/lib
then?
Can't you just override
--libdir=/usr/lib
then?
I tried, but it resulted in the pkgconfig files landing in /usr/lib as well.
Can't you just override --libdir=/usr/lib then?
I tried, but it resulted in the pkgconfig files landing in /usr/lib as well.
That sounds weird, do you understand why?
It is not really weird, overriding libdir
does what is is supposed to:
https://github.com/GLibSharp/GtkSharp/blob/6f02bdbc7b7e8922394ca315dd0ddc6a2beea277/Source/meson.build#L78
PR #73 changes the meson build files so that the assemblies end up in /usr/lib
regardless of libdir
.
If the pkgconfig file refers to files in /usr/lib shouldn't it rightfully go in /usr/lib as well?
Good question... in any case, on my system (Fedora 36 x86_64), /usr/lib/pkgconfig
does not even exist, indicating that the pkg-config files should go to libdir
regardless of where the files they refer to go.
I tried updating the ancient Fedora gtk-sharp 2.99.3 package to this fork. Unfortunately, meson -Dinstall=true results in the files getting installed to /usr/lib64 on an x86_64 machine. According to the Fedora packaging guidelines, mono packages are architecture-independent and should, as such, be installed to /usr/lib: https://docs.fedoraproject.org/en-US/packaging-guidelines/Mono/#_file_locations_and_architectures The ancient gtk-sharp-2.99.3 package installs the files to /usr/lib correctly.