Add mac-legacy profile for building against Java 6 on macOS

master
Graham 5 years ago
parent 9960aec5ef
commit 69feff1dac
  1. 22
      gl-natives/pom.xml

@ -84,6 +84,28 @@
</plugins>
</build>
</profile>
<profile>
<id>mac-legacy</id>
<build>
<plugins>
<plugin>
<groupId>com.github.maven-nar</groupId>
<artifactId>nar-maven-plugin</artifactId>
<configuration>
<linker>
<libs>
<lib>
<type>shared</type>
<name>jawt</name>
<directory>${nar.javaHome}/../Libraries</directory>
</lib>
</libs>
</linker>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>unix</id>
<activation>

Loading…
Cancel
Save