Link jawt as a lib instead of a sysLib

This prevents us from needing to specify -L manually.
master
Graham 5 years ago
parent 5e7a4d70cd
commit ab00f333c6
  1. 11
      gl-natives/pom.xml
  2. 1
      pom.xml

@ -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>
<type>shared</type>
@ -37,10 +44,6 @@
<type>shared</type>
<name>GLX</name>
</sysLib>
<sysLib>
<type>shared</type>
<name>jawt</name>
</sysLib>
</sysLibs>
</linker>
</configuration>

@ -301,7 +301,6 @@
</c>
<linker>
<options>
<option>-L${java.home}/lib</option>
<option>-fPIC</option>
</options>
</linker>

Loading…
Cancel
Save