Skip to content

Commit

Permalink
Fixed shared lib path for Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
vaiorabbit committed Jan 25, 2025
1 parent 8b1f0e0 commit 069f19f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sample/util/setup_dll.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def self.gl_library_path()
when :OPENGL_PLATFORM_MACOSX
'/System/Library/Frameworks/OpenGL.framework/Libraries/libGL.dylib'
when :OPENGL_PLATFORM_LINUX
'/usr/lib/x86_64-linux-gnulibGL.so'
'/usr/lib/x86_64-linux-gnu/libGL.so'
else
raise RuntimeError, "Unsupported platform."
end
Expand Down Expand Up @@ -46,7 +46,7 @@ def self.glfw_library_path()
when :OPENGL_PLATFORM_MACOSX
'../libglfw.dylib'
when :OPENGL_PLATFORM_LINUX
'/usr/lib/x86_64-linux-gnu/libglfw.so'
'/usr/lib/x86_64-linux-gnu/libglfw.so.3'
else
raise RuntimeError, "Unsupported platform."
end
Expand Down

0 comments on commit 069f19f

Please sign in to comment.