works with clean target now

This commit is contained in:
Jesse McConnell 2012-09-14 17:00:35 -05:00
parent 859d4a09d3
commit 1aee1a1855
1 changed files with 4 additions and 6 deletions

View File

@ -10,13 +10,13 @@
<name>Jetty :: SetUID OSX Native</name> <name>Jetty :: SetUID OSX Native</name>
<packaging>so</packaging> <packaging>so</packaging>
<properties> <properties>
<native-source-dir>target/native</native-source-dir> <native-source-dir>target/generated</native-source-dir>
<jetty-setuid-linkerStartOption>-lc -ldl -dynamiclib -undefined <jetty-setuid-linkerStartOption>-lc -ldl -dynamiclib -undefined
dynamic_lookup -single_module</jetty-setuid-linkerStartOption> dynamic_lookup -single_module</jetty-setuid-linkerStartOption>
<jetty-setuid-linkerEndOption>target/libsetuid.so</jetty-setuid-linkerEndOption> <jetty-setuid-linkerEndOption>target/libsetuid_osx.so</jetty-setuid-linkerEndOption>
</properties> </properties>
<build> <build>
<finalName>libsetuid</finalName> <finalName>libsetuid_osx</finalName>
<plugins> <plugins>
<plugin> <plugin>
<artifactId>maven-dependency-plugin</artifactId> <artifactId>maven-dependency-plugin</artifactId>
@ -41,7 +41,6 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin> <plugin>
<artifactId>maven-antrun-plugin</artifactId> <artifactId>maven-antrun-plugin</artifactId>
<executions> <executions>
@ -56,7 +55,6 @@
<copy failonerror="false" <copy failonerror="false"
file="${native-source-dir}/org_eclipse_jetty_setuid_SetUID.c" file="${native-source-dir}/org_eclipse_jetty_setuid_SetUID.c"
todir="target/generated" /> todir="target/generated" />
</tasks> </tasks>
</configuration> </configuration>
</execution> </execution>
@ -85,7 +83,7 @@
</linkerStartOptions> </linkerStartOptions>
<linkerEndOptions> <linkerEndOptions>
<linkerEndOptions>-o <linkerEndOptions>-o
${project.build.directory}/libsetuid.so</linkerEndOptions> ${project.build.directory}/libsetuid_osx.so</linkerEndOptions>
</linkerEndOptions> </linkerEndOptions>
</configuration> </configuration>
<executions> <executions>