blob: 43111f4e21d887999cb2ebbe601dbe7e99d0d1a9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
--- 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 {
|