Blame SOURCES/flatpak-ostree-bundle.patch

55c332
Make sure rpath gets added for ostree libs
55c332
55c332
We bundle ostree in the package, so we need to make sure an rpath
55c332
gets set pointing to our bundled library.
55c332
55c332
The Makefiles are missing the OSTREE_LIBS (and so the -Wl,-rpath),
55c332
so add them in.
55c332
--- flatpak-1.0.1/session-helper/Makefile.am.inc.old	2018-08-08 16:56:20.000000000 +0200
55c332
+++ flatpak-1.0.1/session-helper/Makefile.am.inc	2018-09-12 13:23:08.304959872 +0200
55c332
@@ -12,5 +12,5 @@
55c332
 	session-helper/flatpak-session-helper.c	\
55c332
 	$(NULL)
55c332
 
55c332
-flatpak_session_helper_LDADD = $(AM_LDADD) $(BASE_LIBS) libflatpak-common.la
55c332
+flatpak_session_helper_LDADD = $(AM_LDADD) $(BASE_LIBS) $(OSTREE_LIBS) libflatpak-common.la
55c332
 flatpak_session_helper_CFLAGS = $(AM_CFLAGS) $(BASE_CFLAGS) $(SOUP_CFLAGS) $(OSTREE_CFLAGS) $(GSYSTEM_CFLAGS) $(JSON_CFLAGS) -DFLATPAK_COMPILATION
55c332
--- flatpak-1.0.1/portal/Makefile.am.inc.old	2018-08-08 16:56:20.000000000 +0200
55c332
+++ flatpak-1.0.1/portal/Makefile.am.inc	2018-09-12 13:23:54.795014399 +0200
55c332
@@ -34,6 +34,6 @@
55c332
 BUILT_SOURCES += $(nodist_flatpak_portal_SOURCES)
55c332
 CLEANFILES += $(nodist_flatpak_portal_SOURCES)
55c332
 
55c332
-flatpak_portal_LDADD = $(AM_LDADD) $(BASE_LIBS)
55c332
+flatpak_portal_LDADD = $(AM_LDADD) $(BASE_LIBS) $(OSTREE_LIBS)
55c332
 flatpak_portal_CFLAGS = $(AM_CFLAGS) $(BASE_CFLAGS) -DFLATPAK_COMPILATION
55c332
 flatpak_portal_CPPFLAGS = $(AM_CPPFLAGS) -I$(builddir)/portal