From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A2FD4158091 for ; Sat, 4 Jun 2022 04:33:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AD26AE0920; Sat, 4 Jun 2022 04:33:46 +0000 (UTC) Received: from sysrq.in (sysrq.in [37.79.202.136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2C644E0920 for ; Sat, 4 Jun 2022 04:33:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sysrq.in; s=sysrq.in; t=1654317223; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Kce02uSW2k2jqXX8II0cg+mInDDM1R0rMijOVD/F0zA=; b=FZhaIMurWqsyuK8aXsmHUuRIQA6PbXBnwCrUKIM2vXwwBv+qA8u9c/VGaNVulux8yTHRmQ cOfz9BQbC36KeZZKIpoMaSq1CtRONoHpoVnId1vd2O5bD1ekOO50U6EiXiRbXfse5g9WJ5 cej/MxyVtHtKKk3R61hcvLtqEUkP+rEKr+xgRFLyZ3MAHXh6DtF/84h3LWlMTGMf/fgc2N pIBvrQPIFvmVvjyPGafzkv0LMLtPoFFVF0UFbaHnphmwQAqaEFn6nO6vzXD0VkjASIYd5y KfC3PTpZ30CU0GiSwxJ10dHFKLay156pfoxycyNQ2+0WB4HOk+W5cHL1zpOMxw== Received: from sysrq.in (localhost [127.0.0.1]) by sysrq.in (OpenSMTPD) with ESMTPSA id 73d7a3fc (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Sat, 4 Jun 2022 04:33:43 +0000 (UTC) From: Anna Vyalkova To: gentoo-alt@lists.gentoo.org Subject: [gentoo-alt] [PATCH 6/7] scripts/bootstrap-prefix.sh: fix Python build on OpenBSD Date: Sat, 4 Jun 2022 09:33:17 +0500 Message-Id: <20220604043318.21900-7-cyber+gentoo@sysrq.in> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220604043318.21900-1-cyber+gentoo@sysrq.in> References: <20220604043318.21900-1-cyber+gentoo@sysrq.in> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-alt@lists.gentoo.org Reply-to: gentoo-alt@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archives-Salt: da39f5dc-81b1-4dce-8b1c-426e6afa2ea9 X-Archives-Hash: dfbd76ad40c266ae2995f8e367efc6a7 Signed-off-by: Anna Vyalkova --- scripts/bootstrap-prefix.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh index c9886b6a43..30e3ccb448 100755 --- a/scripts/bootstrap-prefix.sh +++ b/scripts/bootstrap-prefix.sh @@ -1159,6 +1159,10 @@ bootstrap_python() { LDFLAGS="${LDFLAGS} -Wl,-rpath,${ROOT}/tmp/usr/lib ${libdir}" LDFLAGS="${LDFLAGS} -Wl,-rpath,${libdir#-L}" ;; + *-openbsd*) + # LLD + LDFLAGS="${LDFLAGS} -Wl,-rpath,${ROOT}/tmp/usr/lib" + ;; *-solaris*) # Sun ld LDFLAGS="${LDFLAGS} -R${ROOT}/tmp/usr/lib ${libdir}" -- 2.35.1