From 99b35375058be40b6b6a30b0770a11f63e62ab37 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 8 Jan 2024 10:25:06 +0100 Subject: [PATCH] fix PKG_CONFIG_LIBDIR --- Magick++/bin/Magick++-config.in | 4 +++- MagickCore/MagickCore-config.in | 4 +++- MagickWand/MagickWand-config.in | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Magick++/bin/Magick++-config.in b/Magick++/bin/Magick++-config.in index 877545c1a..d55208a51 100755 --- a/Magick++/bin/Magick++-config.in +++ b/Magick++/bin/Magick++-config.in @@ -7,7 +7,9 @@ prefix=@prefix@ exec_prefix=@exec_prefix@ -export PKG_CONFIG_LIBDIR="${exec_prefix}/lib/pkgconfig" +libdir=@libdir@ +pkgconfigdir=@pkgconfigdir@ +export PKG_CONFIG_LIBDIR="${pkgconfigdir}" usage='Usage: Magick++-config [--cppflags] [--cxxflags] [--exec-prefix] [--ldflags] [--libs] [--prefix] [--version] diff --git a/MagickCore/MagickCore-config.in b/MagickCore/MagickCore-config.in index ab790055d..2263a1dd2 100644 --- a/MagickCore/MagickCore-config.in +++ b/MagickCore/MagickCore-config.in @@ -6,7 +6,9 @@ prefix=@prefix@ exec_prefix=@exec_prefix@ -export PKG_CONFIG_LIBDIR="${exec_prefix}/lib/pkgconfig" +libdir=@libdir@ +pkgconfigdir=@pkgconfigdir@ +export PKG_CONFIG_LIBDIR="${pkgconfigdir}" usage="\ Usage: MagickCore-config [--cflags] [--cppflags] [--exec-prefix] [--ldflags] [--libs] [--prefix] [--version]" diff --git a/MagickWand/MagickWand-config.in b/MagickWand/MagickWand-config.in index 647b80c2e..03680cfdc 100644 --- a/MagickWand/MagickWand-config.in +++ b/MagickWand/MagickWand-config.in @@ -6,7 +6,9 @@ prefix=@prefix@ exec_prefix=@exec_prefix@ -export PKG_CONFIG_LIBDIR="${exec_prefix}/lib/pkgconfig" +libdir=@libdir@ +pkgconfigdir=@pkgconfigdir@ +export PKG_CONFIG_LIBDIR="${pkgconfigdir}" usage="\ Usage: MagickWand-config [--cflags] [--cppflags] [--exec-prefix] [--ldflags] [--libs] [--prefix] [--version]" -- 2.43.0