opengl.glu: fix missing library error on Windows and Linux
parent
fc1bf07a1f
commit
f86073733c
|
@ -4,12 +4,16 @@ USING: alien alien.libraries alien.syntax kernel sequences words system
|
|||
combinators ;
|
||||
IN: opengl.glu
|
||||
|
||||
<<
|
||||
|
||||
os {
|
||||
{ [ dup macosx? ] [ drop ] }
|
||||
{ [ dup windows? ] [ drop ] }
|
||||
{ [ dup unix? ] [ drop "glu" "libGLU.so.1" "cdecl" add-library ] }
|
||||
} cond
|
||||
|
||||
>>
|
||||
|
||||
LIBRARY: glu
|
||||
|
||||
! These are defined as structs in glu.h, but we only ever use pointers to them
|
||||
|
|
Loading…
Reference in New Issue