diff options
-rw-r--r-- | premake5.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/premake5.lua b/premake5.lua index aa28bf5..171de21 100644 --- a/premake5.lua +++ b/premake5.lua @@ -28,13 +28,13 @@ project("Pong") os.exit(1) end libdirs {"raylib", "raylib/src"} + linkoptions {"`pkgconf --libs glfw3`", "`pkgconf --libs gl`"} -- Detect OS if(os.ishost("linux") == true) then links {RaylibStaticLibrary, "m", "pthread", "dl"} elseif(os.ishost("bsd") == true) then - print("It is required you build raylib to an external glfw library when on bsd.") - linkoptions {"`pkgconf --libs glfw3`", "`pkgconf --libs gl`"} + print("It is required you build raylib to an external glfw library when on bsd.") -- Which BSD? BSD_OS = io.popen("uname") BSD_OS_NAME = BSD_OS:read("*a") |