File 0972-Fix-failing-build-on-BSDs.patch of Package erlang

From 702f1c69a9e841e0dd278a96cf8c7bc4f9eac5f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= <bjorn@erlang.org>
Date: Mon, 30 Mar 2020 09:52:35 +0200
Subject: [PATCH] Fix failing build on BSDs

The fix in 3edba0dad391 broke the build on BSD platforms.
---
 erts/configure.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/erts/configure.in b/erts/configure.in
index c6dabc1151..caa1ce568b 100644
--- a/erts/configure.in
+++ b/erts/configure.in
@@ -908,7 +908,7 @@ dnl for now that is the way we do it.
 dnl what the user say. This might not be the right way to do it, but
 dnl for now that is the way we do it.
 LD='$(CC)'
-
+LD_MAY_BE_WEAK=no
 AC_SUBST(LD)
 
 LDFLAG_RUNTIME_LIBRARY_PATH="$CFLAG_RUNTIME_LIBRARY_PATH"
-- 
2.16.4

openSUSE Build Service is sponsored by