diff options
author | Charadon <dev@iotib.net> | 2022-06-05 23:21:36 -0400 |
---|---|---|
committer | Charadon <dev@iotib.net> | 2022-06-05 23:21:36 -0400 |
commit | 5ced498a2638c9e5c58f60130c15e2a246fdadb5 (patch) | |
tree | 65cfee0d10d8ae790f394a1376c305aff070d4cd | |
parent | 533b4b37229fa774a26f68f4a2434860ee698a19 (diff) | |
download | Pong-C-5ced498a2638c9e5c58f60130c15e2a246fdadb5.tar.gz |
Fixes for netbsd
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | premake5.lua | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore index 21a8ff7..afe90e4 100644 --- a/.gitignore +++ b/.gitignore @@ -9,4 +9,6 @@ flatpak_repo/ build-dir/ Makefile Pong.make -*.flatpak \ No newline at end of file +*.flatpak +bin/ +obj/ \ No newline at end of file diff --git a/premake5.lua b/premake5.lua index d5ce869..513b303 100644 --- a/premake5.lua +++ b/premake5.lua @@ -39,7 +39,8 @@ project("Pong") BSD_OS_NAME = BSD_OS:read("*a") BSD_OS:close() -- Check Result - if(BSD_OS_NAME == "netbsd") then + if(BSD_OS_NAME == "NetBSD\n") then + libdirs(RaylibStaticLibrary, "/usr/X11R7/lib", "/usr/pkg/lib") links {RaylibStaticLibrary, "m", "pthread", "glfw"} elseif(BSD_OS_NAME == "freebsd") then links {RaylibStaticLibrary, "m", "glfw", "stdthreads"} |