diff --git a/extra/opengl/glu/glu.factor b/extra/opengl/glu/glu.factor index fe060e3553..a8404bb13a 100644 --- a/extra/opengl/glu/glu.factor +++ b/extra/opengl/glu/glu.factor @@ -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