summaryrefslogtreecommitdiffstats
path: root/recipes-support/curl
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-support/curl')
-rw-r--r--recipes-support/curl/curl_%.bbappend1
-rw-r--r--recipes-support/curl/curl_agldemo.inc5
2 files changed, 6 insertions, 0 deletions
diff --git a/recipes-support/curl/curl_%.bbappend b/recipes-support/curl/curl_%.bbappend
new file mode 100644
index 000000000..b126b6d20
--- /dev/null
+++ b/recipes-support/curl/curl_%.bbappend
@@ -0,0 +1 @@
+require ${@bb.utils.contains('AGL_FEATURES', 'agldemo', 'curl_agldemo.inc', '', d)}
diff --git a/recipes-support/curl/curl_agldemo.inc b/recipes-support/curl/curl_agldemo.inc
new file mode 100644
index 000000000..fc24cea15
--- /dev/null
+++ b/recipes-support/curl/curl_agldemo.inc
@@ -0,0 +1,5 @@
+# Cannot just append to PACKAGECONFIG, as nghttp2's dependencies do not build
+# for native/nativesdk, and appending class-target does not work because of
+# the weak definition of PACKAGECONFIG in the recipe, so need to copy the
+# definition to add nghttp2...
+PACKAGECONFIG = "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} gnutls libidn proxy threaded-resolver verbose zlib nghttp2"