Skip to content

Commit 80fb826

Browse files
committed
fix: Add OpenGL library linking for GLFW on Linux
1 parent b6d91d0 commit 80fb826

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/ImGui/makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ endif
271271

272272
ifeq ($(IS_LINUX),yes)
273273
# GLFW on Linux
274-
LIBS += `pkg-config --static --libs glfw3`
274+
LIBS += `pkg-config --static --libs glfw3` -lGL
275275
endif
276276

277277
ifeq ($(IS_MACOS),yes)

0 commit comments

Comments
 (0)