From: ecordonnier@snap.com
To: yocto-patches@lists.yoctoproject.org
Cc: Etienne Cordonnier <ecordonnier@snap.com>
Subject: [meta-darwin][PATCH 4/5] curl: pass -F for the Apple frameworks on Darwin nativesdk
Date: Mon, 16 Nov 2026 21:22:22 +0100 [thread overview]
Message-ID: <20261116202223.654-4-ecordonnier@snap.com> (raw)
In-Reply-To: <20261116202223.654-1-ecordonnier@snap.com>
From: Etienne Cordonnier <ecordonnier@snap.com>
lib/macos.c uses the SystemConfiguration and CoreFoundation frameworks, which
are in the SDK runtime tree but need -F.
Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
---
recipes-support/curl/curl_%.bbappend | 5 +++++
1 file changed, 5 insertions(+)
create mode 100644 recipes-support/curl/curl_%.bbappend
diff --git a/recipes-support/curl/curl_%.bbappend b/recipes-support/curl/curl_%.bbappend
new file mode 100644
index 0000000..3e5ad39
--- /dev/null
+++ b/recipes-support/curl/curl_%.bbappend
@@ -0,0 +1,5 @@
+# curl (lib/macos.c) uses the SystemConfiguration/CoreFoundation frameworks.
+# They are in the SDK runtime tree but need -F, which nothing adds by default.
+OSXSDK:class-nativesdk:darwin21 = "${STAGING_DIR_TARGET}${SDKPATHNATIVE}/runtime"
+CPPFLAGS:append:class-nativesdk:darwin21 = " -F${OSXSDK}/System/Library/Frameworks"
+LDFLAGS:append:class-nativesdk:darwin21 = " -F${OSXSDK}/System/Library/Frameworks"
--
2.43.0
next prev parent reply other threads:[~2026-11-16 20:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-16 20:22 [meta-darwin][PATCH 1/5] file: disable lzlib ecordonnier
2026-11-16 20:22 ` [meta-darwin][PATCH 2/5] darwin-common: disable debuginfod ecordonnier
2026-11-16 20:22 ` [meta-darwin][PATCH 3/5] libgpg-error: install lock-obj-pub header for the darwin21 triplet ecordonnier
2026-11-16 20:22 ` ecordonnier [this message]
2026-11-16 20:22 ` [meta-darwin][PATCH 5/5] gnutls: pass -F for the Apple frameworks on Darwin nativesdk ecordonnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261116202223.654-4-ecordonnier@snap.com \
--to=ecordonnier@snap.com \
--cc=yocto-patches@lists.yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.