]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/gobject/ffi/ffi.factor
On Unix, link VM with GTK libraries instead of loading them dynamically
[factor.git] / basis / gobject / ffi / ffi.factor
index 070a2c5dea587e05442af11fc2de863203de0894..705adedb7e7fd8d4f3b3ca82f81851bd3ba78ef7 100644 (file)
@@ -1,6 +1,6 @@
 ! Copyright (C) 2010 Anton Gorenko.
 ! See http://factorcode.org/license.txt for BSD license.
-USING: alien alien.destructors alien.libraries alien.syntax
+USING: alien alien.destructors alien.libraries alien.syntax kernel
 combinators gobject-introspection literals math system vocabs.loader ;
 IN: gobject.ffi
 
@@ -13,8 +13,7 @@ LIBRARY: gobject
 <<
 "gobject" {
     { [ os winnt? ] [ "libobject-2.0-0.dll" cdecl add-library ] }
-    { [ os macosx? ] [ "/opt/local/lib/libgobject-2.0.0.dylib" cdecl add-library ] }
-    { [ os unix? ] [ "libgobject-2.0.so" cdecl add-library ] }
+    { [ os unix? ] [ drop ] }
 } cond
 >>