From e2540257a6f6addac52a675a6f2949a808a661d0 Mon Sep 17 00:00:00 2001 From: Carlos O'Ryan Date: Tue, 19 Oct 2021 15:10:30 +0000 Subject: [PATCH] feat: make pkg-config files relocatable --- google/cloud/functions/config.pc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/google/cloud/functions/config.pc.in b/google/cloud/functions/config.pc.in index 21072619..79386b77 100644 --- a/google/cloud/functions/config.pc.in +++ b/google/cloud/functions/config.pc.in @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -prefix=@CMAKE_INSTALL_PREFIX@ +prefix=${pcfiledir}/../.. exec_prefix=${prefix}/@CMAKE_INSTALL_BINDIR@ libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@ includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@