From d7a0c4e5f6850325f2c167f4e9f44cb796a0de82 Mon Sep 17 00:00:00 2001 From: Ryan Blue Date: Thu, 5 Sep 2024 01:09:29 -0400 Subject: [PATCH] Add macos minimum version to linker args --- .../java/edu/wpi/first/nativeutils/WPINativeUtilsExtension.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/edu/wpi/first/nativeutils/WPINativeUtilsExtension.java b/src/main/java/edu/wpi/first/nativeutils/WPINativeUtilsExtension.java index ede766c..767d752 100644 --- a/src/main/java/edu/wpi/first/nativeutils/WPINativeUtilsExtension.java +++ b/src/main/java/edu/wpi/first/nativeutils/WPINativeUtilsExtension.java @@ -263,6 +263,7 @@ public void addMacMinimumVersionArg() { platform.getCppCompiler().getArgs().add(defaultArguments.macMinimumVersionArg); platform.getObjcCompiler().getArgs().add(defaultArguments.macMinimumVersionArg); platform.getObjcppCompiler().getArgs().add(defaultArguments.macMinimumVersionArg); + platform.getLinker().getArgs().add(defaultArguments.macMinimumVersionArg); } public static abstract class DependencyVersions {