Skip to content

Commit

Permalink
Fix the notorious pnglibconf.h error for v2
Browse files Browse the repository at this point in the history
Anybody who builds Rive knows this error:

cp: /Users/chris/code/rive/packages/runtime/renderer/dependencies/8E14B9975/libpng-libpng16/pnglibconf.h: Permission denied

This comes up because we need to generate pnglibconf.h, but Lua didn't like us trying to copy over a file that already existed. Make this cleaner by generating pnglibconf.h in %{cfg.targetdir}/include/libpng instead, and only do so if the file doesn't already exist.

Diffs=
60a2eec998 Fix the notorious pnglibconf.h error for v2 (#8905)
  • Loading branch information
csmartdalton committed Jan 23, 2025
1 parent 91d6b15 commit cb144b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .rive_head
Original file line number Diff line number Diff line change
@@ -1 +1 @@
24d9162103a73712ba3c80cfc909fee6948a0089
60a2eec998a81299e172a8954a924b3544fed403
2 changes: 1 addition & 1 deletion submodules/rive-cpp

0 comments on commit cb144b2

Please sign in to comment.