diff --git a/src/main/java/com/gluonhq/NativeBaseMojo.java b/src/main/java/com/gluonhq/NativeBaseMojo.java index fcdb4cd..dc43904 100644 --- a/src/main/java/com/gluonhq/NativeBaseMojo.java +++ b/src/main/java/com/gluonhq/NativeBaseMojo.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019, 2021, Gluon + * Copyright (c) 2019, 2022, Gluon * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -113,6 +113,9 @@ public abstract class NativeBaseMojo extends AbstractMojo { @Parameter(property = "gluonfx.nativeImageArgs") List nativeImageArgs; + @Parameter(property = "gluonfx.linkerArgs") + List linkerArgs; + @Parameter(property = "gluonfx.runtimeArgs") List runtimeArgs; @@ -195,6 +198,7 @@ private ProjectConfiguration createSubstrateConfiguration() { clientConfig.setResourcesList(resourcesList); clientConfig.setJniList(jniList); clientConfig.setCompilerArgs(nativeImageArgs); + clientConfig.setLinkerArgs(linkerArgs); clientConfig.setRuntimeArgs(runtimeArgs); clientConfig.setReflectionList(reflectionList); clientConfig.setAppId(appIdentifier != null ? appIdentifier :