From abedf373e5a7032af6a37cc7f96aac15bf5c26dd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
Date: Tue, 6 Dec 2011 19:13:31 +0100
Subject: [PATCH] Make pcre-config --libs-cpp aware of cross-compilation
---
pcre-config.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/pcre-config.in b/pcre-config.in
index aeee182..00c5395 100644
--- a/pcre-config.in
+++ b/pcre-config.in
@@ -58,7 +58,7 @@ while test $# -gt 0; do
;;
--libs-cpp)
if test @enable_cpp@ = yes ; then
- echo -L@libdir@$libR -lpcrecpp -lpcre
+ echo $libS$libR -lpcrecpp -lpcre
else
echo "${usage}" 1>&2
fi
--
1.7.7.4