Blame SOURCES/ostree-bundle.patch

0202c3
Make sure rpath gets added for ostree libs
0202c3
0202c3
We bundle ostree in the package, so we need to make sure an rpath
0202c3
gets set pointing to our bundled library.
0202c3
0202c3
The Makefiles are missing the OSTREE_LIBS (and so the -Wl,-rpath),
0202c3
so add them in.
0202c3
diff --git a/document-portal/Makefile.am.inc b/document-portal/Makefile.am.inc
0202c3
--- a/document-portal/Makefile.am.inc	2017-11-08 16:52:40.135530435 -0500
0202c3
+++ b/document-portal/Makefile.am.inc	2017-11-08 16:52:53.340379677 -0500
0202c3
@@ -34,5 +34,5 @@ xdg_document_portal_SOURCES = \
0202c3
 	document-portal/xdp-fuse.c		\
0202c3
 	$(NULL)
0202c3
 
0202c3
-xdg_document_portal_LDADD = $(BASE_LIBS) $(FUSE_LIBS) libflatpak-common.la
0202c3
+xdg_document_portal_LDADD = $(BASE_LIBS) $(FUSE_LIBS) $(OSTREE_LIBS) libflatpak-common.la
0202c3
 xdg_document_portal_CFLAGS = $(BASE_CFLAGS) $(OSTREE_CFLAGS) $(SOUP_CFLAGS) $(JSON_CFLAGS) $(FUSE_CFLAGS) -I$(srcdir)/document-portal -I$(builddir)/document-portal -I$(srcdir)/permission-store -I$(builddir)/permission-store -DFLATPAK_COMPILATION
0202c3
diff --git a/permission-store/Makefile.am.inc b/permission-store/Makefile.am.inc
0202c3
--- a/permission-store/Makefile.am.inc	2017-11-09 14:34:13.681220097 -0500
0202c3
+++ b/permission-store/Makefile.am.inc	2017-11-09 14:34:20.578146811 -0500
0202c3
@@ -30,5 +30,5 @@ xdg_permission_store_SOURCES = \
0202c3
 	permission-store/xdg-permission-store.h	\
0202c3
 	$(NULL)
0202c3
 
0202c3
-xdg_permission_store_LDADD = $(BASE_LIBS) libflatpak-common.la
0202c3
+xdg_permission_store_LDADD = $(BASE_LIBS) $(OSTREE_LIBS) libflatpak-common.la
0202c3
 xdg_permission_store_CFLAGS = $(BASE_CFLAGS) $(SOUP_CFLAGS) $(JSON_CFLAGS) $(OSTREE_CFLAGS) $(GSYSTEM_CFLAGS) -I$(srcdir)/permission-store -I$(builddir)/permission-store
0202c3
diff --git a/session-helper/Makefile.am.inc b/session-helper/Makefile.am.inc
0202c3
--- a/session-helper/Makefile.am.inc	2017-11-09 14:34:47.849857022 -0500
0202c3
+++ b/session-helper/Makefile.am.inc	2017-11-09 14:35:01.377713286 -0500
0202c3
@@ -12,5 +12,5 @@ flatpak_session_helper_SOURCES = \
0202c3
 	session-helper/flatpak-session-helper.c	\
0202c3
 	$(NULL)
0202c3
 
0202c3
-flatpak_session_helper_LDADD = $(BASE_LIBS) libflatpak-common.la
0202c3
+flatpak_session_helper_LDADD = $(BASE_LIBS) $(OSTREE_LIBS) libflatpak-common.la
0202c3
 flatpak_session_helper_CFLAGS = $(BASE_CFLAGS) $(SOUP_CFLAGS) $(OSTREE_CFLAGS) $(GSYSTEM_CFLAGS) $(JSON_CFLAGS)