Skip to content

Commit

Permalink
fixes #6
Browse files Browse the repository at this point in the history
Added -ldl as linker flag for X11 GLFW builds, as GLFW has added this dependency recently.
  • Loading branch information
flyx committed Sep 11, 2015
1 parent bdae3a9 commit d8daad4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion opengl-glfw.gpr
Expand Up @@ -47,7 +47,8 @@ library project OpenGL.Glfw is
for Linker_Options use (GLFW_Lib, "-lwinmm", "-lgdi32");
when "x11" =>
-- -lX11 is already set in opengl.gpr
for Linker_Options use (GLFW_Lib, "-pthread", "-lm", "-lXcursor", "-lXxf86vm", "-lXrandr", "-lXinerama", "-lXi");
for Linker_Options use (GLFW_Lib, "-pthread", "-lm", "-lXcursor", "-lXxf86vm",
"-lXrandr", "-lXinerama", "-lXi", "-ldl");
end case;
end Linker;
end OpenGL.Glfw;

0 comments on commit d8daad4

Please sign in to comment.