diff --git a/transport-native-kqueue/pom.xml b/transport-native-kqueue/pom.xml
index 5a0d83ba2f..c6bdda2874 100644
--- a/transport-native-kqueue/pom.xml
+++ b/transport-native-kqueue/pom.xml
@@ -79,6 +79,10 @@
${jni.compiler.args.ldflags}
${jni.compiler.args.cflags}
+
+ MACOSX_DEPLOYMENT_TARGET=10.2
@@ -353,7 +357,7 @@
${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 -I${unix.common.include.unpacked.dir}
- LDFLAGS=-L${unix.common.lib.unpacked.dir} -Wl,--whole-archive -l${unix.common.lib.name} -Wl,--no-whole-archive
+ LDFLAGS=-z now -L${unix.common.lib.unpacked.dir} -Wl,--whole-archive -l${unix.common.lib.name} -Wl,--no-whole-archive
true
diff --git a/transport-native-unix-common/pom.xml b/transport-native-unix-common/pom.xml
index 3f14ae1e06..66f9578c6a 100644
--- a/transport-native-unix-common/pom.xml
+++ b/transport-native-unix-common/pom.xml
@@ -102,6 +102,10 @@
+
+