diff options
-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"} |