Remove private/static markers from the pkg-config file
authorPino Toscano <pino@debian.org>
Mon, 30 Sep 2024 23:40:44 +0000 (23:40 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Mon, 30 Sep 2024 23:40:44 +0000 (23:40 +0000)
Forwarded: no
Last-Update: 2023-06-21

The pkg-config file lists as as private the internal libraries used by exiv2.
The problem is that those private markers require the availability of those
other pkg-config files to make exiv2.pc usable; since those are needed only
for static linking, and that there are no static libraries, simply delete them
to make exiv2.pc usable again.

Gbp-Pq: Name pkgconfig-no-private.diff

cmake/exiv2.pc.in

index e13b276b3b1e576d790142f825f7a70a1a6e0daa..cea7604229fb20286aedc52c9b812ded5c2b6c84 100644 (file)
@@ -7,7 +7,5 @@ Name: exiv2
 Description: @PROJECT_DESCRIPTION@
 Version: @PROJECT_VERSION@
 URL: @PACKAGE_URL@
-Requires.private: @requires_private_for_pc_file@
 Libs: -L${libdir} -lexiv2
-Libs.private: @libs_private_for_pc_file@
 Cflags: -I${includedir}