From ea9b553b91d13cbc616d45e78005a49b9ba1ea6d Mon Sep 17 00:00:00 2001 From: Vyacheslav Yurkov Date: Mon, 18 Jan 2021 08:57:05 +0100 Subject: [PATCH] pkg-config: added includedir assignment When the library is installed in non-standard location compiler can't find fcgiapp.h header file. Populating includedir and cflags fixes that Signed-off-by: Vyacheslav Yurkov --- fcgi++.pc.in | 2 ++ fcgi.pc.in | 2 ++ 2 files changed, 4 insertions(+) diff --git a/fcgi++.pc.in b/fcgi++.pc.in index 9eaf1d9..9a9f549 100644 --- a/fcgi++.pc.in +++ b/fcgi++.pc.in @@ -1,9 +1,11 @@ prefix=@prefix@ exec_prefix=@exec_prefix@ libdir=@libdir@ +includedir=${exec_prefix}/include Name: fcgi Description: FastCGI C++ Developer's Kit URL: https://fastcgi-archives.github.io Version: @VERSION@ Libs: -L${libdir} -lfcgi++ +Cflags: -I${includedir} diff --git a/fcgi.pc.in b/fcgi.pc.in index 948baa9..b3b533d 100644 --- a/fcgi.pc.in +++ b/fcgi.pc.in @@ -1,9 +1,11 @@ prefix=@prefix@ exec_prefix=@exec_prefix@ libdir=@libdir@ +includedir=${exec_prefix}/include Name: fcgi Description: FastCGI Developer's Kit URL: https://fastcgi-archives.github.io Version: @VERSION@ Libs: -L${libdir} -lfcgi +Cflags: -I${includedir}