4.0.0 io.netty netty-parent 4.1.77.Final netty-resolver-dns-native-macos Netty/Resolver/DNS/Native/MacOS jar mac mac LDFLAGS=-Wl,-weak_library,${unix.common.lib.unpacked.dir}/lib${unix.common.lib.name}.a -Wl,-platform_version,macos,10.6,10.6 false maven-dependency-plugin unpack generate-sources unpack-dependencies ${project.groupId} netty-transport-native-unix-common ${jni.classifier} ${unix.common.lib.dir} META-INF/native/** false true org.fusesource.hawtjni maven-hawtjni-plugin build-native-lib netty_resolver_dns_native_macos_${os.detected.arch} ${project.basedir}/src/main/c ${project.build.outputDirectory} . ${jni.compiler.args.ldflags} ${jni.compiler.args.cflags} MACOSX_DEPLOYMENT_TARGET=10.6 generate build maven-jar-plugin native-jar jar true META-INF/native/libnetty_resolver_dns_native_macos_${os.detected.arch}.jnilib; osname=MacOSX; processor=${os.detected.arch} io.netty.resolver-dns-classes-macos ${javaModuleName} true ${project.build.outputDirectory}/META-INF/MANIFEST.MF ${jni.classifier} io.netty netty-transport-native-unix-common ${project.version} ${jni.classifier} true mac-m1-cross-compile LDFLAGS=-arch arm64 -Wl,-weak_library,${unix.common.lib.unpacked.dir}/lib${unix.common.lib.name}.a -Wl,-platform_version,macos,11.0,11.0 CFLAGS=-target arm64-apple-macos11 -O3 -Werror -fno-omit-frame-pointer -Wunused-variable -fvisibility=hidden -I${unix.common.include.unpacked.dir} ${os.detected.name}-aarch_64 ${os.detected.name}.aarch_64 true maven-dependency-plugin unpack generate-sources unpack-dependencies ${project.groupId} netty-transport-native-unix-common ${jni.classifier} ${unix.common.lib.dir} META-INF/native/** false true org.fusesource.hawtjni maven-hawtjni-plugin build-native-lib netty_resolver_dns_native_macos_aarch_64 ${project.basedir}/src/main/c ${project.build.outputDirectory} . ${jni.compiler.args.ldflags} ${jni.compiler.args.cflags} --host=aarch64-apple-darwin MACOSX_DEPLOYMENT_TARGET=11.0 generate build maven-jar-plugin native-jar jar true META-INF/native/libnetty_resolver_dns_native_macos_aarch_64.jnilib; osname=MacOSX; processor=aarch_64 io.netty.resolver-dns-classes-macos ${javaModuleName} true ${project.build.outputDirectory}/META-INF/MANIFEST.MF ${jni.classifier} io.netty netty-transport-native-unix-common ${project.version} ${jni.classifier} true ${os.detected.name}.${os.detected.arch} io.netty.resolver.dns.macos.${javaModuleNameClassifier} netty-unix-common ${project.build.directory}/unix-common-lib ${unix.common.lib.dir}/META-INF/native/lib ${unix.common.lib.dir}/META-INF/native/include CFLAGS=-O3 -Werror -fno-omit-frame-pointer -Wunused-variable -fvisibility=hidden -I${unix.common.include.unpacked.dir} LDFLAGS=-z now -L${unix.common.lib.unpacked.dir} -Wl,--whole-archive -l${unix.common.lib.name} -Wl,--no-whole-archive true io.netty netty-resolver-dns-classes-macos ${project.version} maven-jar-plugin default-jar META-INF/native/**