Freetype staging violation fix
parent
58da31c071
commit
f319b45de9
|
@ -3,14 +3,11 @@
|
||||||
USING: alien alien.syntax kernel system combinators ;
|
USING: alien alien.syntax kernel system combinators ;
|
||||||
IN: freetype
|
IN: freetype
|
||||||
|
|
||||||
: load-freetype-library ( -- )
|
<< "freetype" {
|
||||||
"freetype" {
|
|
||||||
{ [ macosx? ] [ "@executable_path/../Frameworks/libfreetype.6.dylib" "cdecl" add-library ] }
|
{ [ macosx? ] [ "@executable_path/../Frameworks/libfreetype.6.dylib" "cdecl" add-library ] }
|
||||||
{ [ windows? ] [ "freetype6.dll" "cdecl" add-library ] }
|
{ [ windows? ] [ "freetype6.dll" "cdecl" add-library ] }
|
||||||
{ [ t ] [ drop ] }
|
{ [ t ] [ drop ] }
|
||||||
} cond ; parsing
|
} cond >>
|
||||||
|
|
||||||
load-freetype-library
|
|
||||||
|
|
||||||
LIBRARY: freetype
|
LIBRARY: freetype
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue