Fix flatpak build

> + cp -p /app/include/stb/stb_image.h thirdparty/stb/
> cp: cannot stat '/app/include/stb/stb_image.h': No such file or directory

(cherry picked from commit c85abf4a25)
This commit is contained in:
Stephan Bergmann 2022-01-11 08:34:10 +01:00
commit 90fb9164f1

View file

@ -62,7 +62,7 @@ developing applications that use %{name}.
rm -v thirdparty/stb/stb_image_write.h thirdparty/stb/stb_image.h
# stb_image.h is trivially forked: reconstruct the changes with the latest
# unbundled copy
cp -p %{_includedir}/stb/stb_image.h thirdparty/stb/
cp -p /usr/include/stb/stb_image.h thirdparty/stb/
pushd thirdparty/stb
patch -p1 < stb_image.patch
popd