diff options
-rw-r--r-- | meta-networking/recipes-support/curlpp/curlpp/0001-curlpp-config.in-Remove-references-to-absolute-build.patch | 40 | ||||
-rw-r--r-- | meta-networking/recipes-support/curlpp/curlpp_0.8.1.bb | 3 |
2 files changed, 42 insertions, 1 deletions
diff --git a/meta-networking/recipes-support/curlpp/curlpp/0001-curlpp-config.in-Remove-references-to-absolute-build.patch b/meta-networking/recipes-support/curlpp/curlpp/0001-curlpp-config.in-Remove-references-to-absolute-build.patch new file mode 100644 index 000000000..539e9cefb --- /dev/null +++ b/meta-networking/recipes-support/curlpp/curlpp/0001-curlpp-config.in-Remove-references-to-absolute-build.patch | |||
@@ -0,0 +1,40 @@ | |||
1 | From d6eee2d52f31e034f9d84d38a749d86a63d5b769 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Mon, 22 May 2023 20:37:47 -0700 | ||
4 | Subject: [PATCH] curlpp-config.in: Remove references to absolute buildpaths | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
8 | --- | ||
9 | extras/curlpp-config.in | 6 +++--- | ||
10 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
11 | |||
12 | diff --git a/extras/curlpp-config.in b/extras/curlpp-config.in | ||
13 | index 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 | -- | ||
39 | 2.40.1 | ||
40 | |||
diff --git a/meta-networking/recipes-support/curlpp/curlpp_0.8.1.bb b/meta-networking/recipes-support/curlpp/curlpp_0.8.1.bb index e36a86fd0..131f1873a 100644 --- a/meta-networking/recipes-support/curlpp/curlpp_0.8.1.bb +++ b/meta-networking/recipes-support/curlpp/curlpp_0.8.1.bb | |||
@@ -7,7 +7,8 @@ LIC_FILES_CHKSUM = "file://doc/LICENSE;md5=fd0c9adf285a69aa3b4faf34384e1029" | |||
7 | DEPENDS = "curl" | 7 | DEPENDS = "curl" |
8 | DEPENDS:class-native = "curl-native" | 8 | DEPENDS:class-native = "curl-native" |
9 | 9 | ||
10 | SRC_URI = "git://github.com/jpbarrette/curlpp.git;branch=master;protocol=https" | 10 | SRC_URI = "git://github.com/jpbarrette/curlpp.git;branch=master;protocol=https \ |
11 | file://0001-curlpp-config.in-Remove-references-to-absolute-build.patch" | ||
11 | 12 | ||
12 | SRCREV = "592552a165cc569dac7674cb7fc9de3dc829906f" | 13 | SRCREV = "592552a165cc569dac7674cb7fc9de3dc829906f" |
13 | 14 | ||