Brotli pkgconfig file contains unknown -R parameter in Cflags
This causes buildfailures in e.g. libsoup:
[129/174] Linking target libsoup/libsoup-2.4.so.1.11.0
ninja: job failed: gcc -o libsoup/libsoup-2.4.so.1.11.0 'libsoup/275ffb9@@soup-2.4@sha/meson-generated_.._soup-resources.c.o' 'libsoup/275ffb9@@soup-2.4@sha/meson-generated_.._soup-enum-types.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-address.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-auth.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-auth-basic.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-auth-digest.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-auth-ntlm.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-auth-negotiate.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-auth-domain.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-auth-domain-basic.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-auth-domain-digest.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-auth-manager.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-body-input-stream.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-body-output-stream.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-cache.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-cache-client-input-stream.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-cache-input-stream.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-client-input-stream.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-connection.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-connection-auth.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-content-decoder.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-content-processor.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-content-sniffer.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-content-sniffer-stream.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-converter-wrapper.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-cookie.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-cookie-jar.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-cookie-jar-db.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-cookie-jar-text.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-date.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-directory-input-stream.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-filter-input-stream.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-form.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-hsts-enforcer.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-hsts-enforcer-db.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-hsts-policy.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-headers.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-init.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-io-stream.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-logger.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-message.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-message-body.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-message-client-io.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-message-headers.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-message-io.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-message-queue.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-message-server-io.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-method.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-misc.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-multipart.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-multipart-input-stream.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-password-manager.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-path-map.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-proxy-resolver.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-proxy-resolver-default.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-proxy-resolver-wrapper.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-proxy-uri-resolver.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-request.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-request-data.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-request-file.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-request-http.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-requester.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-server.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-session.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-session-async.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-session-feature.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-session-sync.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-socket.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-socket-properties.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-status.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-tld.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-uri.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-value-utils.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-version.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-websocket.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-websocket-connection.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-websocket-extension.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-websocket-extension-deflate.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-websocket-extension-manager.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-xmlrpc.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-xmlrpc-old.c.o' 'libsoup/275ffb9@@soup-2.4@sha/soup-brotli-decompressor.c.o' -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,libsoup-2.4.so.1 -Os -fomit-frame-pointer -g -Wl,--as-needed /usr/lib/libglib-2.0.so /usr/lib/libintl.so /usr/lib/libgobject-2.0.so /usr/lib/libgio-2.0.so /usr/lib/libxml2.so /usr/lib/libsqlite3.so /usr/lib/libpsl.so -R/usr/lib /usr/lib/libbrotlidec.so /lib/libz.so -Wl,--end-group
gcc: error: unrecognized command-line option '-R'
ninja: subcommand failed
I think instead of -R
, -Wl,rpath
should be used here.