aboutsummaryrefslogtreecommitdiff
path: root/emulators/mame/files/patch-scripts_toolchain.lua
blob: fe4f9966ff46d86dae4e4f112d8679ea4d57d33f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- scripts/toolchain.lua.orig	2023-05-27 02:18:45 UTC
+++ scripts/toolchain.lua
@@ -60,7 +60,8 @@ function androidToolchainRoot()
 		local hostTags = {
 			windows = "windows-x86_64",
 			linux   = "linux-x86_64",
-			macosx  = "darwin-x86_64"
+			macosx  = "darwin-x86_64",
+			bsd     = "freebsd-x86_64"
 		}
 		android.toolchainRoot = (os.getenv("ANDROID_NDK_HOME") or "") .. "/toolchains/llvm/prebuilt/" .. hostTags[os.get()]
 	end