diff --git a/jetty-setuid/jetty-setuid-test/pom.xml b/jetty-setuid/jetty-setuid-test/pom.xml
index 1e2f14e020c..d86896f94bd 100644
--- a/jetty-setuid/jetty-setuid-test/pom.xml
+++ b/jetty-setuid/jetty-setuid-test/pom.xml
@@ -40,14 +40,35 @@
Linux
-
-
- org.eclipse.jetty
- libsetuid_linux
- ${project.version}
- so
-
-
+
+
+
+ maven-dependency-plugin
+
+
+ copy
+ generate-resources
+
+ copy
+
+
+
+
+ org.eclipse.jetty.setuid
+ libsetuid-linux
+ ${project.version}
+ so
+ true
+ target/native
+
+
+
+
+
+
+
+
+
env-mac