Fix ogg libraries for recent factor changes

db4
Chris Double 2008-01-17 11:04:09 +13:00
parent c6bc074472
commit eb07fbdc7c
3 changed files with 21 additions and 24 deletions

View File

@ -4,14 +4,13 @@
USING: kernel system combinators alien alien.syntax ;
IN: ogg
: load-ogg-library ( -- )
"ogg" {
{ [ win32? ] [ "ogg.dll" ] }
{ [ macosx? ] [ "libogg.0.dylib" ] }
{ [ unix? ] [ "libogg.so" ] }
} cond "cdecl" add-library ; parsing
load-ogg-library
<<
"ogg" {
{ [ win32? ] [ "ogg.dll" ] }
{ [ macosx? ] [ "libogg.0.dylib" ] }
{ [ unix? ] [ "libogg.so" ] }
} cond "cdecl" add-library
>>
LIBRARY: ogg

View File

@ -4,14 +4,13 @@
USING: kernel system combinators alien alien.syntax ;
IN: ogg.theora
: load-theora-library ( -- )
"theora" {
{ [ win32? ] [ "libtheora.dll" ] }
{ [ macosx? ] [ "libtheora.0.dylib" ] }
{ [ unix? ] [ "libtheora.so" ] }
} cond "cdecl" add-library ; parsing
load-theora-library
<<
"theora" {
{ [ win32? ] [ "libtheora.dll" ] }
{ [ macosx? ] [ "libtheora.0.dylib" ] }
{ [ unix? ] [ "libtheora.so" ] }
} cond "cdecl" add-library
>>
LIBRARY: theora

View File

@ -4,14 +4,13 @@
USING: kernel system combinators alien alien.syntax ;
IN: ogg.vorbis
: load-vorbis-library ( -- )
"vorbis" {
{ [ win32? ] [ "vorbis.dll" ] }
{ [ macosx? ] [ "libvorbis.0.dylib" ] }
{ [ unix? ] [ "libvorbis.so" ] }
} cond "cdecl" add-library ; parsing
load-vorbis-library
<<
"vorbis" {
{ [ win32? ] [ "vorbis.dll" ] }
{ [ macosx? ] [ "libvorbis.0.dylib" ] }
{ [ unix? ] [ "libvorbis.so" ] }
} cond "cdecl" add-library
>>
LIBRARY: vorbis