meson: Use PKGLIB_DIR for gfmlibdir
Using an empty string results in this code in gnome-music
:
def set_gfm():
"""Configures application to use gfm."""
gfm_libdir = ''
if _LOCAL:
gfm_typelibdir = ''
else:
gfm_typelibdir = '/girepository-1.0'
GIRepository.Repository.prepend_search_path(gfm_typelibdir)
GIRepository.Repository.prepend_library_path(gfm_libdir)
So the first library search path is now ''
, which, for some reason,
causes PyGObject to search /usr/lib
before /usr/lib/org.gnome.Music
.
/usr/lib/libgd.so
exists but is not related to Music's libgd, resulting
in a crash when attempting to use Gd.
To fix this, replace the empty string with the PKGLIB_DIR
where libgfm
is actually found.