Skip to content

Commit

Permalink
Rename .jnilib natives to .dylib (#956)
Browse files Browse the repository at this point in the history
  • Loading branch information
modmuss50 authored Oct 15, 2023
1 parent b7c8013 commit c24a802
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/net/fabricmc/loom/task/ExtractNativesTask.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ public ExtractNativesTask() {
for (File nativeFile : getProject().getConfigurations().getByName(Constants.Configurations.MINECRAFT_NATIVES).getFiles()) {
from(getProject().zipTree(nativeFile), copySpec -> {
copySpec.exclude("META-INF/**");
// Fix pre LWJGL 3 versions on Macos. See: https://github.com/FabricMC/fabric-loom/issues/955
copySpec.rename(s -> s.replace(".jnilib", ".dylib"));
});
}

Expand Down

0 comments on commit c24a802

Please sign in to comment.