mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-03-30 13:05:27 -05:00
Rename .jnilib natives to .dylib (#956)
This commit is contained in:
@@ -40,6 +40,8 @@ public abstract class ExtractNativesTask extends Sync {
|
||||
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"));
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user