Blame SOURCES/gnome-documents-meson.build-allow-libgdprivate-1.0.so-to-find-libgd.patch

8540c9
From 9fc9ac1cbd811a907f623a4b31858a3b8072222d Mon Sep 17 00:00:00 2001
8540c9
From: Christopher Davis <brainblasted@disroot.org>
8540c9
Date: Fri, 18 Jan 2019 06:57:25 -0500
8540c9
Subject: [PATCH] src/meson.build: allow libgdprivate-1.0.so to find libgd
8540c9
8540c9
This is thanks to a tip from Jan Tojnar in
8540c9
https://gitlab.gnome.org/GNOME/gnome-documents/issues/5.
8540c9
Previously libgdprivate could not find libgd, which caused the issue in https://gitlab.gnome.org/GNOME/gnome-documents/issues/12
8540c9
8540c9
Closes https://gitlab.gnome.org/GNOME/gnome-documents/issues/12 and closes https://gitlab.gnome.org/GNOME/gnome-documents/issues/5
8540c9
---
8540c9
 src/meson.build | 3 ++-
8540c9
 1 file changed, 2 insertions(+), 1 deletion(-)
8540c9
8540c9
diff --git a/src/meson.build b/src/meson.build
8540c9
index 27380c7c0174..2ffbb0ecc5f2 100644
8540c9
--- a/src/meson.build
8540c9
+++ b/src/meson.build
8540c9
@@ -151,7 +151,8 @@ libgdprivate = shared_library(
8540c9
   dependencies: documents_deps,
8540c9
   c_args: cflags,
8540c9
   install: true,
8540c9
-  install_dir: documents_pkglibdir
8540c9
+  install_dir: documents_pkglibdir,
8540c9
+  install_rpath: documents_pkglibdir
8540c9
 )
8540c9
 
8540c9
 gir_sources = sources + headers
8540c9
-- 
8540c9
2.20.1
8540c9