]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/openssl/libcrypto/libcrypto.factor
factor: more top level forms.
[factor.git] / basis / openssl / libcrypto / libcrypto.factor
index 90d23b24cc12baff6e5edde27baf6ff2e0681ae1..7e448d8a7c1aa242dd27faef4ca584fd35d32e60 100644 (file)
@@ -5,11 +5,9 @@ alien.syntax classes.struct combinators system ;
 
 IN: openssl.libcrypto
 
-<< "libcrypto" {
-    { [ os windows? ] [ "libcrypto-37.dll" ] }
-    { [ os macosx? ] [ "libcrypto.35.dylib" ] }
-    { [ os unix? ] [ "libcrypto.so" ] }
-} cond cdecl add-library >>
+LIBRARY-UNIX: libcrypto cdecl "libcrypto.so"
+LIBRARY-MACOSX: libcrypto cdecl "libcrypto.35.dylib"
+LIBRARY-WINDOWS: libcrypto cdecl "libcrypto-37.dll"
 
 STRUCT: bio-method
     { type int }