about summary refs log tree commit diff stats
path: root/premake5.lua
diff options
context:
space:
mode:
Diffstat (limited to 'premake5.lua')
-rw-r--r--premake5.lua3
1 files changed, 2 insertions, 1 deletions
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"}