summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2023-01-17 18:27:00 -0800
committerJames Zern <jzern@google.com>2023-01-17 18:32:44 -0800
commit31c28db53c6fa3be7026212fdd1526280e3f0f52 (patch)
treee9ca924b457601af92b9b76eb667480c0f9414d6
parentbdf33d03b0b2a6c707583e33d0bd7a98495f4928 (diff)
downloadlibwebp-31c28db53c6fa3be7026212fdd1526280e3f0f52.tar.gz
libwebp{,demux,mux}.pc.in: Requires -> Requires.private
The libraries don't expose the symbols in libsharpyuv / libwebp, they're only needed when static linking. Noted for libwebp (Requires: libsharpyuv) in: https://crbug.com/webp/590#c5. libwebpdemux and libwebpmux had a similar issue with libwebp. See also: https://web.archive.org/web/20190921014607/https://wiki.openmandriva.org/en/Overlinking_issues_in_packaging Change-Id: Ia1866b6b44cbb1ef1a77fd45fbcf10c027eae788
-rw-r--r--src/demux/libwebpdemux.pc.in2
-rw-r--r--src/libwebp.pc.in2
-rw-r--r--src/mux/libwebpmux.pc.in2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/demux/libwebpdemux.pc.in b/src/demux/libwebpdemux.pc.in
index 15ed1763..4da2e40a 100644
--- a/src/demux/libwebpdemux.pc.in
+++ b/src/demux/libwebpdemux.pc.in
@@ -6,6 +6,6 @@ includedir=@includedir@
Name: libwebpdemux
Description: Library for parsing the WebP graphics format container
Version: @PACKAGE_VERSION@
-Requires: libwebp >= 0.2.0
+Requires.private: libwebp >= 0.2.0
Cflags: -I${includedir}
Libs: -L${libdir} -l@webp_libname_prefix@webpdemux
diff --git a/src/libwebp.pc.in b/src/libwebp.pc.in
index a755b54e..783090ef 100644
--- a/src/libwebp.pc.in
+++ b/src/libwebp.pc.in
@@ -6,7 +6,7 @@ includedir=@includedir@
Name: libwebp
Description: Library for the WebP graphics format
Version: @PACKAGE_VERSION@
-Requires: libsharpyuv
+Requires.private: libsharpyuv
Cflags: -I${includedir}
Libs: -L${libdir} -l@webp_libname_prefix@webp
Libs.private: -lm @PTHREAD_CFLAGS@ @PTHREAD_LIBS@
diff --git a/src/mux/libwebpmux.pc.in b/src/mux/libwebpmux.pc.in
index 9d4d6e1e..c770daaf 100644
--- a/src/mux/libwebpmux.pc.in
+++ b/src/mux/libwebpmux.pc.in
@@ -6,7 +6,7 @@ includedir=@includedir@
Name: libwebpmux
Description: Library for manipulating the WebP graphics format container
Version: @PACKAGE_VERSION@
-Requires: libwebp >= 0.2.0
+Requires.private: libwebp >= 0.2.0
Cflags: -I${includedir}
Libs: -L${libdir} -l@webp_libname_prefix@webpmux
Libs.private: -lm