]> gitweb.factorcode.org Git - factor.git/commitdiff
opengl.glu: fix missing library error on Windows and Linux
authorSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Fri, 4 Sep 2009 12:57:48 +0000 (07:57 -0500)
committerSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Fri, 4 Sep 2009 12:57:48 +0000 (07:57 -0500)
extra/opengl/glu/glu.factor

index fe060e35535b252289b148e6531830ae3d4f3e89..a8404bb13aaa8f3214575af74ea143cccc5908f3 100644 (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