build: Add mutter's private directory to libst's build-time RPATH

We need this to run `test-theme`, otherwise when run as part of the
build tests it fails like:

  error while loading shared libraries: libmutter-cogl-4.so.0: cannot
  open shared object file: No such file or directory

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/442
This commit is contained in:
Iain Lane 2019-03-06 12:33:33 +00:00
parent fc2caf5794
commit c73428247c
No known key found for this signature in database
GPG Key ID: E352D5C51C5041D4

View File

@ -126,6 +126,7 @@ libst = shared_library('st-1.0',
sources: st_gir_sources + st_non_gir_sources,
c_args: st_cflags,
dependencies: [clutter_dep, gtk_dep, croco_dep, x11_dep, m_dep],
build_rpath: mutter_typelibdir,
install_rpath: mutter_typelibdir,
install_dir: pkglibdir,
install: true