ENV: remove trailing slash from OpenGL header path
This commit is contained in:
parent
a871baadf5
commit
6d7cda77e9
@ -176,7 +176,7 @@ module Superenv
|
|||||||
paths << "#{MacOS::X11.include}/freetype2" if x11?
|
paths << "#{MacOS::X11.include}/freetype2" if x11?
|
||||||
paths << "#{sdk}/usr/include/libxml2" unless deps.include? 'libxml2'
|
paths << "#{sdk}/usr/include/libxml2" unless deps.include? 'libxml2'
|
||||||
paths << "#{sdk}/usr/include/apache2" if MacOS::Xcode.without_clt?
|
paths << "#{sdk}/usr/include/apache2" if MacOS::Xcode.without_clt?
|
||||||
paths << "#{sdk}/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/" unless x11?
|
paths << "#{sdk}/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers" unless x11?
|
||||||
paths << MacOS::X11.include if x11?
|
paths << MacOS::X11.include if x11?
|
||||||
paths.to_path_s
|
paths.to_path_s
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user