This prevents us from needing to specify -L manually.
@ -28,6 +28,13 @@
<artifactId>nar-maven-plugin</artifactId>
<configuration>
<linker>
<libs>
<lib>
<type>shared</type>
<name>jawt</name>
<directory>${java.home}/lib</directory>
</lib>
</libs>
<sysLibs>
<sysLib>
@ -37,10 +44,6 @@
<name>GLX</name>
</sysLib>
</sysLibs>
</linker>
</configuration>
@ -301,7 +301,6 @@
</c>
<options>
<option>-L${java.home}/lib</option>
<option>-fPIC</option>
</options>