]> gitweb.factorcode.org Git - factor.git/commitdiff
extra: don't use absolute paths for dylibs
authorJohn Benediktsson <mrjbq7@gmail.com>
Tue, 22 Aug 2023 22:44:10 +0000 (15:44 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Tue, 22 Aug 2023 22:44:10 +0000 (15:44 -0700)
extra/cuda/ffi/ffi.factor
extra/freetype/freetype.factor
extra/llvm/ffi/ffi.factor

index d9e4d92cc2c8149da05d5482927bdd0e16bddcc8..12dedf5b88be50f6349e89583cdfdc73d2845fe7 100644 (file)
@@ -7,7 +7,7 @@ IN: cuda.ffi
 <<
 "cuda" {
     { [ os windows? ] [ "nvcuda.dll" stdcall ] }
-    { [ os macosx? ] [ "/usr/local/cuda/lib/libcuda.dylib" cdecl ] }
+    { [ os macosx? ] [ "libcuda.dylib" cdecl ] }
     { [ os unix? ] [ "libcuda.so" cdecl ] }
 } cond add-library
 >>
index 9abcf0bb07fb4d817f8549a99b554fad1eb8b4f5..509a115b93badaca80bc089b56b0db54e48807ff 100644 (file)
@@ -5,7 +5,7 @@ alien.libraries classes.struct ;
 IN: freetype
 
 << "freetype" {
-    { [ os macosx? ] [ "/usr/X11R6/lib/libfreetype.6.dylib" cdecl add-library ] }
+    { [ os macosx? ] [ "libfreetype.6.dylib" cdecl add-library ] }
     { [ os windows? ] [ "freetype6.dll" cdecl add-library ] }
     [ drop ]
 } cond >>
index c61e2cd1c63276538dc81f9893a58332a895f8d4..59b5825541b85ebc625f743399c9f01a67965e01 100644 (file)
@@ -6,7 +6,7 @@ IN: llvm.ffi
 
 << "llvm" {
     { [ os linux? ] [ "LLVM-3.9" find-so ] }
-    { [ os macosx? ] [ "/usr/local/opt/llvm/lib/libLLVM.dylib" ] }
+    { [ os macosx? ] [ "libLLVM.dylib" ] }
     [ f ]
 } cond [ cdecl add-library ] [ drop ] if*
 >>