gtk.*,gdk.*: not using find-library again

factor-shell
Björn Lindqvist 2018-01-24 15:37:47 +01:00
parent dbf21ca102
commit 3b45c93ece
3 changed files with 8 additions and 8 deletions

View File

@ -1,7 +1,7 @@
! Copyright (C) 2010 Anton Gorenko.
! See http://factorcode.org/license.txt for BSD license.
USING: alien alien.libraries alien.libraries.finder alien.syntax
combinators gobject-introspection kernel system vocabs ;
USING: alien alien.libraries alien.syntax combinators
gobject-introspection kernel system vocabs ;
IN: gdk.gl.ffi
<<
@ -14,7 +14,7 @@ LIBRARY: gdk.gl
"gdk.gl" {
{ [ os windows? ] [ "libgdkglext-win32-1.0-0.dll" cdecl add-library ] }
{ [ os macosx? ] [ drop ] }
{ [ os unix? ] [ "gdkglext-x11-1.0" find-library cdecl add-library ] }
{ [ os unix? ] [ "libgdkglext-x11-1.0.so" cdecl add-library ] }
} cond
>>

View File

@ -1,7 +1,7 @@
! Copyright (C) 2010 Anton Gorenko.
! See http://factorcode.org/license.txt for BSD license.
USING: alien alien.c-types alien.destructors alien.libraries
alien.libraries.finder alien.syntax combinators gobject-introspection
alien.syntax combinators gobject-introspection
gobject-introspection.standard-types kernel pango.ffi system vocabs ;
IN: gtk.ffi
@ -15,7 +15,7 @@ LIBRARY: gtk
<<
"gtk" {
{ [ os windows? ] [ "libgtk-win32-2.0-0.dll" cdecl add-library ] }
{ [ os linux? ] [ "gtk-x11-2.0" find-library cdecl add-library ] }
{ [ os linux? ] [ "libgtk-x11-2.0.so" cdecl add-library ] }
[ drop ]
} cond
>>

View File

@ -1,7 +1,7 @@
! Copyright (C) 2010 Anton Gorenko.
! See http://factorcode.org/license.txt for BSD license.
USING: alien alien.libraries alien.libraries.finder alien.syntax
combinators gobject-introspection kernel system vocabs ;
USING: alien alien.libraries alien.syntax combinators
gobject-introspection kernel system vocabs ;
IN: gtk.gl.ffi
<<
@ -15,7 +15,7 @@ LIBRARY: gtk.gl
"gtk.gl" {
{ [ os windows? ] [ drop ] }
{ [ os macosx? ] [ drop ] }
{ [ os unix? ] [ "gtkglext-x11-1.0" find-library cdecl add-library ] }
{ [ os unix? ] [ "libgtkglext-x11-1.0.so" cdecl add-library ] }
} cond
>>