opengl.glu: fix missing library error on Windows and Linux

db4
Slava Pestov 2009-09-04 07:57:48 -05:00
parent fc1bf07a1f
commit f86073733c
1 changed files with 4 additions and 0 deletions

View File

@ -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