diff --git a/jetty-setuid/jetty-setuid-osx/pom.xml b/jetty-setuid/jetty-setuid-osx/pom.xml
index 96555d18614..591a3dfb8cb 100644
--- a/jetty-setuid/jetty-setuid-osx/pom.xml
+++ b/jetty-setuid/jetty-setuid-osx/pom.xml
@@ -10,13 +10,13 @@
Jetty :: SetUID OSX Native
so
- target/native
+ target/generated
-lc -ldl -dynamiclib -undefined
dynamic_lookup -single_module
- target/libsetuid.so
+ target/libsetuid_osx.so
- libsetuid
+ libsetuid_osx
maven-dependency-plugin
@@ -41,7 +41,6 @@
-
maven-antrun-plugin
@@ -56,7 +55,6 @@
-
@@ -85,7 +83,7 @@
-o
- ${project.build.directory}/libsetuid.so
+ ${project.build.directory}/libsetuid_osx.so