[pcre-dev] [PATCH] Make pcre-config --libs-cpp aware of cros…

Page principale
Supprimer ce message
Auteur: Petr Písař
Date:  
À: pcre-dev
Anciens-sujets: [pcre-dev] 8.21-RC1 is available
Sujet: [pcre-dev] [PATCH] Make pcre-config --libs-cpp aware of cross-compilation
I think the pcre-config --libs-cpp output should use the same logic as other
options. This has been changed when fixing cross-compilation.

--Petr

---
 pcre-config.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/pcre-config.in b/pcre-config.in
index ccbf210..fbdf612 100644
--- a/pcre-config.in
+++ b/pcre-config.in
@@ -70,7 +70,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