Blame SOURCES/flatpak-ostree-bundle.patch

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