--- GPL/gpl.gradle.orig 2019-11-04 13:00:14 UTC +++ GPL/gpl.gradle @@ -6,7 +6,7 @@ project.ext.BIN_REPO = file("../../../ghidra.bin").abs * Create a set containing all the platforms we need when building native * artifacts. ****************************************************************************/ -project.ext.set("OS_NAMES", ["osx64", "win32", "win64", "linux64"]) +project.ext.set("OS_NAMES", ["osx64", "win32", "win64", "linux64", "freebsd64"]) /**************************************************************************** * Establish Visual Studio configuration environment for Windows native builds @@ -43,6 +43,11 @@ ext.getCurrentPlatformName = { return 'osx64' } } + else if (osName.startsWith("FreeBSD")) { + if (isX86_64) { + return 'freebsd64' + } + } throw new GradleException("Unrecognized current platform -> osName = $osName, archName = $archName") } /******************************************************************************************