--- Ghidra/Features/Decompiler/build.gradle.orig 2019-10-23 20:54:54 UTC +++ Ghidra/Features/Decompiler/build.gradle @@ -210,7 +210,8 @@ task buildDecompilerDocumentationHtml(type: Exec) { // Check the OS before executing command. doFirst { if ( !(org.gradle.internal.os.OperatingSystem.current().isLinux() - || org.gradle.internal.os.OperatingSystem.current().isMacOsX())) { + || org.gradle.internal.os.OperatingSystem.current().isMacOsX() + || org.gradle.internal.os.OperatingSystem.current().getName().contains("FreeBSD"))) { throw new TaskExecutionException( it, new Exception( "The '$it.name' task only works on Linux or Mac Os X" )) } @@ -248,6 +249,7 @@ model { targetPlatform "win64" targetPlatform "linux64" targetPlatform "osx64" + targetPlatform "freebsd64" sources { cpp { source { @@ -345,6 +347,7 @@ model { targetPlatform "win64" targetPlatform "linux64" targetPlatform "osx64" + targetPlatform "freebsd64" sources { cpp { source {