From ea16a84ef51b0e50a40789adcfbe71b6f3c60ed1 Mon Sep 17 00:00:00 2001 From: Michal Privoznik Date: Sat, 26 Dec 2015 17:13:00 +0100 Subject: Generate better pkg-config file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Firstly, when building with autogen.sh and configure script, the wireshark.pc is not generated at all. Then, due to not matching names some variables are not being replaced as they should be. Bug: 11069 Change-Id: Iefa7a9b536f3fee7f9ad78803aaacc5bb64a9c8d Signed-off-by: Michal Privoznik Reviewed-on: https://code.wireshark.org/review/13005 Reviewed-by: João Valverde Petri-Dish: Alexis La Goutte Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman --- wireshark.pc.in | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'wireshark.pc.in') diff --git a/wireshark.pc.in b/wireshark.pc.in index 826b230577..588917812b 100644 --- a/wireshark.pc.in +++ b/wireshark.pc.in @@ -1,14 +1,14 @@ -prefix=@CMAKE_INSTALL_PREFIX@ -exec_prefix=${prefix} -libdir=@ABSOLUTE_CMAKE_INSTALL_LIBDIR@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ sharedlibdir=${libdir} -includedir=${prefix}/include/wireshark -plugindir=@PLUGIN_INSTALL_DIR@ +plugindir=@plugindir@ -Name: wireshark -Description: wireshark network packet dissection library -Version: @PROJECT_VERSION@ +Name: Wireshark +Description: Network Packet Dissection Library +Version: @VERSION@ -Requires: -Libs: -L${libdir} -L${sharedlibdir} -lwireshark -Cflags: -I${includedir} +Requires: glib-2.0, gmodule-2.0, gthread-2.0 +Libs: -L${libdir} -lwireshark +Cflags: -I${includedir}/wireshark -- cgit v1.2.1