diff --git a/gl-natives/pom.xml b/gl-natives/pom.xml
index a858b8c1fd..7e93eb48ee 100644
--- a/gl-natives/pom.xml
+++ b/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>