Link jawt as a lib instead of a sysLib

This prevents us from needing to specify -L manually.
bzip2
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> <artifactId>nar-maven-plugin</artifactId>
<configuration> <configuration>
<linker> <linker>
<libs>
<lib>
<type>shared</type>
<name>jawt</name>
<directory>${java.home}/lib</directory>
</lib>
</libs>
<sysLibs> <sysLibs>
<sysLib> <sysLib>
<type>shared</type> <type>shared</type>
@ -37,10 +44,6 @@
<type>shared</type> <type>shared</type>
<name>GLX</name> <name>GLX</name>
</sysLib> </sysLib>
<sysLib>
<type>shared</type>
<name>jawt</name>
</sysLib>
</sysLibs> </sysLibs>
</linker> </linker>
</configuration> </configuration>

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

Loading…
Cancel
Save