From 3633b48166556d502242f28ea7a7823fa18134e3 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Wed, 26 Feb 2025 07:09:30 +0100 Subject: [PATCH] Remove private/static markers from the pkg-config file Forwarded: not-needed Origin: vendor 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. This was forwarded upstream in a cleaner way together with the changes in the CMake config files, and the changes affecting the pkg-config file were rejected: https://github.com/Exiv2/exiv2/pull/2872 Gbp-Pq: Name pkgconfig-no-private.diff --- cmake/exiv2.pc.in | 2 -- 1 file changed, 2 deletions(-) diff --git a/cmake/exiv2.pc.in b/cmake/exiv2.pc.in index e13b276..cea7604 100644 --- a/cmake/exiv2.pc.in +++ b/cmake/exiv2.pc.in @@ -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} -- 2.30.2