From c80559280faf27251dce481e92bc328b67d56c21 Mon Sep 17 00:00:00 2001 From: Norman Maurer Date: Thu, 31 Oct 2024 09:08:19 +0100 Subject: [PATCH] Only add extra ldflags on linux Motivation: We need to ensure we only add the extra ldflags on linux as otherwise compilation will fail on macOS Modifications: Add the ldflags on linux only Result: Be able to compile on macOS again --- boringssl-static/pom.xml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/boringssl-static/pom.xml b/boringssl-static/pom.xml index e69b47d4..429a169f 100644 --- a/boringssl-static/pom.xml +++ b/boringssl-static/pom.xml @@ -93,7 +93,7 @@ ssl.lib;crypto.lib -Werror -fno-omit-frame-pointer -fvisibility=hidden -Wunused -Wno-unused-value -O3 -DHAVE_OPENSSL -I${boringsslSourceDir}/include - -L${boringsslHome}/ssl -L${boringsslHome}/crypto -lssl -lcrypto -static-libstdc++ -l:libstdc++.a + -L${boringsslHome}/ssl -L${boringsslHome}/crypto -lssl -lcrypto true ${javaDefaultModuleName} @@ -668,6 +668,17 @@ + + linux + + + linux + + + + -L${boringsslHome}/ssl -L${boringsslHome}/crypto -lssl -lcrypto -static-libstdc++ -l:libstdc++.a + + linux-aarch64