diff options
-rw-r--r-- | premake5.lua | 8 |
1 files changed, 4 insertions, 4 deletions
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 } |