You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
935 B

From 07c35149964c7258e52effa374d877a8f2f102e8 Mon Sep 17 00:00:00 2001
From: Alexander Tsoy <alexander@tsoy.me>
Date: Fri, 29 Jul 2016 03:18:03 +0300
Subject: [PATCH] build: Replace hardcoded values in pkg-config file
https://bugzilla.gnome.org/show_bug.cgi?id=769291
---
data/gom-1.0.pc.in | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/data/gom-1.0.pc.in b/data/gom-1.0.pc.in
index ce19de6..6edc841 100644
--- a/data/gom-1.0.pc.in
+++ b/data/gom-1.0.pc.in
@@ -1,11 +1,11 @@
prefix=@prefix@
-exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
-includedir=${exec_prefix}/include
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
Name: Gom
Description: GObject Data Mapper
Version: @VERSION@
-Libs: -L${libdir} -lgom-1.0
-Cflags: -I${includedir}/gom-1.0
+Libs: -L${libdir} -lgom-@GOM_API_VERSION@
+Cflags: -I${includedir}/gom-@GOM_API_VERSION@
Requires: gobject-2.0
--
2.17.0