hobbes1069 / rpms / shiboken

Forked from rpms/shiboken 5 years ago
Clone
Blob Blame History Raw
From 07b4e71aed9a8fe2b5e4339b42b7952b7d6a5e61 Mon Sep 17 00:00:00 2001
From: Kalev Lember <kalev@smartlink.ee>
Date: Sat, 11 Sep 2010 15:21:58 +0300
Subject: [PATCH] Fix up shiboken.pc file generation

Use @var@ syntax instead of ${var} in shiboken.pc.in; configure_file is
called with @ONLY option in CMakeLists.txt, which means that ${var}
doesn't get replaced.
---
 data/shiboken.pc.in |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/data/shiboken.pc.in b/data/shiboken.pc.in
index ed1cc6c..c54e84a 100644
--- a/data/shiboken.pc.in
+++ b/data/shiboken.pc.in
@@ -7,6 +7,6 @@ generator_location=@CMAKE_INSTALL_PREFIX@/bin/shiboken
 Name: shiboken
 Description: Support library for Python bindings created with Shiboken generator.
 Version: @shiboken_VERSION@
-Libs: -L${libdir} -lpython -lshiboken${shiboken_SUFFIX}
-Cflags: -I${includedir}/shiboken${shiboken_SUFFIX}
+Libs: -L${libdir} -lpython -lshiboken@shiboken_SUFFIX@
+Cflags: -I${includedir}/shiboken@shiboken_SUFFIX@
 
-- 
1.7.2.2