opengl.gl: just add libGL.so.1 instead of using find-library-from-list.
I think this is more robust, and also I would rather have find-library return full paths on all platforms since that's the utility that I was going for when it was written.clean-linux-x86-64
parent
e6eb7be61c
commit
0f537f0c45
|
@ -2,9 +2,8 @@
|
||||||
! See http://factorcode.org/license.txt for BSD license.
|
! See http://factorcode.org/license.txt for BSD license.
|
||||||
|
|
||||||
! This file is based on the gl.h that comes with xorg-x11 6.8.2
|
! This file is based on the gl.h that comes with xorg-x11 6.8.2
|
||||||
USING: alien alien.c-types alien.libraries
|
USING: alien alien.c-types alien.libraries alien.syntax
|
||||||
alien.libraries.finder alien.syntax io.encodings.ascii kernel
|
io.encodings.ascii kernel opengl.gl.extensions system ;
|
||||||
opengl.gl.extensions system ;
|
|
||||||
FROM: alien.c-types => short ;
|
FROM: alien.c-types => short ;
|
||||||
IN: opengl.gl
|
IN: opengl.gl
|
||||||
|
|
||||||
|
@ -630,7 +629,7 @@ LIBRARY: gl
|
||||||
|
|
||||||
<<
|
<<
|
||||||
os linux? [
|
os linux? [
|
||||||
"gl" { "libGL.so.1" "libGL.so" } find-library-from-list cdecl add-library
|
"gl" "libGL.so.1" cdecl add-library
|
||||||
] when
|
] when
|
||||||
>>
|
>>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue