1From d6eee2d52f31e034f9d84d38a749d86a63d5b769 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 22 May 2023 20:37:47 -0700
4Subject: [PATCH] curlpp-config.in: Remove references to absolute buildpaths
5
6Upstream-Status: Pending
7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8---
9 extras/curlpp-config.in | 6 +++---
10 1 file changed, 3 insertions(+), 3 deletions(-)
11
12diff --git a/extras/curlpp-config.in b/extras/curlpp-config.in
13index b0bd964..1416b94 100644
14--- a/extras/curlpp-config.in
15+++ b/extras/curlpp-config.in
16@@ -43,7 +43,7 @@ while test $# -gt 0; do
17
18     case "$1" in
19     --cc)
20-	echo @CC@
21+	curl-config --cc
22 	;;
23
24     --prefix)
25@@ -73,10 +73,10 @@ while test $# -gt 0; do
26        	;;
27
28     --libs)
29-       	echo -L@libdir@ @LDFLAGS@ @LIBS@ `curl-config --libs` -lcurlpp
30+       	echo `curl-config --libs` -lcurlpp
31        	;;
32     --static-libs)
33-       	echo @libdir_static@/libcurlpp.@libext@ @LDFLAGS@ @LIBS@ `curl-config --static-libs`
34+       	echo $prefix/@libdir_static@/libcurlpp.@libext@ `curl-config --static-libs`
35         ;;
36
37     *)
38--
392.40.1
40
41