mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-02 13:59:59 +00:00
networkmanager-openvpn: Fix build with lld on musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
+30
@@ -0,0 +1,30 @@
|
|||||||
|
From e09ba80e342b3b24bb2a46e11dae1c30cc61c75c Mon Sep 17 00:00:00 2001
|
||||||
|
From: Khem Raj <raj.khem@gmail.com>
|
||||||
|
Date: Sun, 3 Sep 2023 08:48:42 -0700
|
||||||
|
Subject: [PATCH] linker-script: Do not export _IO_stdin_used
|
||||||
|
|
||||||
|
This is glibc specific toolhain issue, it should have been handled in
|
||||||
|
toolchain instead of exposing to applications. This was done to fix
|
||||||
|
|
||||||
|
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=835550
|
||||||
|
|
||||||
|
Upstream-Status: Pending
|
||||||
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||||
|
---
|
||||||
|
linker-script-binary.ver | 1 -
|
||||||
|
1 file changed, 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/linker-script-binary.ver b/linker-script-binary.ver
|
||||||
|
index a2780c0..f030d35 100644
|
||||||
|
--- a/linker-script-binary.ver
|
||||||
|
+++ b/linker-script-binary.ver
|
||||||
|
@@ -1,6 +1,5 @@
|
||||||
|
{
|
||||||
|
global:
|
||||||
|
- _IO_stdin_used;
|
||||||
|
local:
|
||||||
|
*;
|
||||||
|
};
|
||||||
|
--
|
||||||
|
2.42.0
|
||||||
|
|
||||||
@@ -10,6 +10,8 @@ inherit gnomebase useradd gettext systemd
|
|||||||
|
|
||||||
SRC_URI = "${GNOME_MIRROR}/NetworkManager-openvpn/${@gnome_verdir("${PV}")}/NetworkManager-openvpn-${PV}.tar.xz"
|
SRC_URI = "${GNOME_MIRROR}/NetworkManager-openvpn/${@gnome_verdir("${PV}")}/NetworkManager-openvpn-${PV}.tar.xz"
|
||||||
|
|
||||||
|
SRC_URI:append:libc-musl = " file://0001-linker-script-Do-not-export-_IO_stdin_used.patch"
|
||||||
|
|
||||||
SRC_URI[sha256sum] = "62f0f2a8782221b923f212ac2a8ebbc1002efd6a90ee945dad4adfb56d076d21"
|
SRC_URI[sha256sum] = "62f0f2a8782221b923f212ac2a8ebbc1002efd6a90ee945dad4adfb56d076d21"
|
||||||
|
|
||||||
S = "${WORKDIR}/NetworkManager-openvpn-${PV}"
|
S = "${WORKDIR}/NetworkManager-openvpn-${PV}"
|
||||||
|
|||||||
Reference in New Issue
Block a user