Fix flatpak build

The build system assumes that libpaper is found in the default include
and link paths, but as it is not part of the flatpak runtime, it too is
built into the /app prefix in flatpak builds.
This commit is contained in:
Yaakov Selkowitz 2023-08-29 12:17:02 -04:00
parent 44f6dc7c9f
commit 22dbb1a44d
1 changed files with 1 additions and 1 deletions

View File

@ -275,7 +275,7 @@ git commit --all --amend --no-edit > /dev/null
%configure --disable-compile-inits --without-versioned-path \
--with-fontpath="%{urw_base35_fontpath}:%{google_droid_fontpath}"
%endif
%make_build so
%make_build so %{?flatpak:XCFLAGS=-I%{_includedir} XTRALIBS=-L%{_libdir}}
# ---------------