From f8c9385aa6ed3adce597007cf3d190490d713c89 Mon Sep 17 00:00:00 2001 From: Charadon Date: Mon, 6 Jun 2022 20:56:06 -0400 Subject: FreeBSD fixes --- premake5.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'premake5.lua') diff --git a/premake5.lua b/premake5.lua index 53ee6d2..f42bea7 100644 --- a/premake5.lua +++ b/premake5.lua @@ -43,8 +43,8 @@ project("Pong") -- Check Result if(BSD_OS_NAME == "NetBSD\n") then links {RaylibStaticLibrary, "m", "pthread"} - elseif(BSD_OS_NAME == "freebsd") then - links {RaylibStaticLibrary, "m", "stdthreads"} + elseif(BSD_OS_NAME == "FreeBSD\n") then + links {RaylibStaticLibrary, "m", "stdthreads", "pthread"} elseif(BSD_OS_NAME == "OpenBSD\n") then -- Work around the fact openbsd doesn't have c11 threads. @@ -71,8 +71,8 @@ project("Pong") trigger = "install", description = "Install the game to prefix.", execute = function() - os.executef("mkdir -p %s/Pong", prefix) - os.executef("cp -rv resources/ %s/Pong/", prefix) + os.executef("mkdir -p %s/Pong/resources", prefix) + os.executef("cp -v resources/* %s/Pong/resources/", prefix) os.executef("install -Dm755 bin/*/Pong %s/Pong/pong", prefix) end } -- cgit 1.4.1-2-gfad0