Add runtime linker path to pkg-config files (#740)

Otherwise libraries will not be found at runtime when installing to a
path not included in the default runtime linker's path with programs
linking brotli configured via pkg-config.
This commit is contained in:
Nils Goroll 2020-05-15 13:11:01 +02:00 committed by GitHub
parent 8f093f5e84
commit 31754d4ffc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -7,5 +7,5 @@ Name: libbrotlicommon
URL: https://github.com/google/brotli URL: https://github.com/google/brotli
Description: Brotli common dictionary library Description: Brotli common dictionary library
Version: @PACKAGE_VERSION@ Version: @PACKAGE_VERSION@
Libs: -L${libdir} -lbrotlicommon Libs: -L${libdir} -R${libdir} -lbrotlicommon
Cflags: -I${includedir} Cflags: -I${includedir}

View File

@ -7,6 +7,6 @@ Name: libbrotlidec
URL: https://github.com/google/brotli URL: https://github.com/google/brotli
Description: Brotli decoder library Description: Brotli decoder library
Version: @PACKAGE_VERSION@ Version: @PACKAGE_VERSION@
Libs: -L${libdir} -lbrotlidec Libs: -L${libdir} -R${libdir} -lbrotlidec
Requires.private: libbrotlicommon >= 1.0.2 Requires.private: libbrotlicommon >= 1.0.2
Cflags: -I${includedir} Cflags: -I${includedir}

View File

@ -7,6 +7,6 @@ Name: libbrotlienc
URL: https://github.com/google/brotli URL: https://github.com/google/brotli
Description: Brotli encoder library Description: Brotli encoder library
Version: @PACKAGE_VERSION@ Version: @PACKAGE_VERSION@
Libs: -L${libdir} -lbrotlienc Libs: -L${libdir} -R${libdir} -lbrotlienc
Requires.private: libbrotlicommon >= 1.0.2 Requires.private: libbrotlicommon >= 1.0.2
Cflags: -I${includedir} Cflags: -I${includedir}