g++: error: unrecognized command-line option ‘-R’ caused by pkg-config files from brotli package
Hello,
I am trying to add a new package libjxl
but build fails because of the following error:
g++: error: unrecognized command-line option ‘-R’
The -R
switch add libs/brotli
dependency via pkg-config files.
There is a fix of the problem in https://github.com/google/brotli/commit/09b0992b6acb7faa6fd3b23f9bc036ea117230fc
and it seems there is also a new release of brotli: https://github.com/google/brotli/releases/tag/v1.1.0
How do you suggest to fix the problem? Backport the patch or to add a new version?