]> gitweb.factorcode.org Git - factor.git/commitdiff
openssl.libcrypto: fix for macos.
authorJohn Benediktsson <mrjbq7@gmail.com>
Tue, 17 Nov 2020 18:33:09 +0000 (10:33 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Tue, 17 Nov 2020 18:33:30 +0000 (10:33 -0800)
basis/openssl/libcrypto/libcrypto.factor

index 68065aef13bf23456d4d87e51db7e9389abbd0b8..0894fe279178932d44c2e5f534975f0a9777bb18 100644 (file)
@@ -1,9 +1,5 @@
 ! Copyright (C) 2007 Elie CHAFTARI, 2009 Maxim Savchenko
 ! See http://factorcode.org/license.txt for BSD license.
-!
-! Tested with OpenSSL 0.9.8a_0 on Mac OS X 10.4.9 PowerPC
-!
-! export LD_LIBRARY_PATH=/opt/local/lib
 USING: alien alien.c-types alien.destructors alien.libraries
 alien.libraries.finder alien.syntax classes.struct combinators system ;
 
@@ -11,7 +7,7 @@ IN: openssl.libcrypto
 
 << "libcrypto" {
     { [ os windows? ] [ "libcrypto-37.dll" ] }
-    { [ os macosx? ] [ { "libcrypto.46.dylib" "libcrypto.44.dylib" "libcrypto.dylib" } find-library-from-list ] }
+    { [ os macosx? ] [ "/usr/lib/libcrypto.44.dylib" ] }
     { [ os unix? ] [ "libcrypto.so" ] }
 } cond cdecl add-library >>