Class: Mittsu::GLFWLib::Linux
Class Method Summary
collapse
Instance Method Summary
collapse
#file, kernel_module_in_use, #path, sixtyfour_bits?
#file, #path
Constructor Details
#initialize(loader = Linux) ⇒ Linux
8
9
10
|
# File 'lib/mittsu/renderers/glfw_lib.rb', line 8
def initialize(loader = Linux)
@loader = loader
end
|
Class Method Details
.ldconfig ⇒ Object
19
20
21
22
23
|
# File 'lib/mittsu/renderers/glfw_lib.rb', line 19
def ldconfig
`ldconfig -p | grep 'libglfw3\\?\\.so'`.lines
rescue
[]
end
|
.libgl_paths ⇒ Object
13
14
15
16
17
|
# File 'lib/mittsu/renderers/glfw_lib.rb', line 13
def libgl_paths
Dir.glob('/usr/lib*/**/libglfw*.so*')
rescue
[]
end
|