libpath simplified
authorTamas Jung <tamasjung@gmail.com>
Wed, 10 Nov 2010 22:42:39 +0000 (23:42 +0100)
committerTamas Jung <tamasjung@gmail.com>
Wed, 10 Nov 2010 22:42:39 +0000 (23:42 +0100)
ext/extconf.rb
lib/arc_client_c_wrapper.rb

index 06a12b0..905bbdf 100644 (file)
@@ -24,5 +24,5 @@ end
   find_header "sigc++/slot.h", "#{prefix}/lib/sigc++-2.0/include"
 end
 
   find_header "sigc++/slot.h", "#{prefix}/lib/sigc++-2.0/include"
 end
 
-create_makefile("arc_client_r")
+create_makefile("arc_client_c")
 
 
index 12e8301..93dcd1a 100644 (file)
@@ -48,6 +48,7 @@ class ArcClientCWrapper
   extend FFI::Library
   
   ffi_lib "/Users/tamas/work/iface/grid/ws/gp-arc-client-c/build/Debug/libarcclientc.dylib"
   extend FFI::Library
   
   ffi_lib "/Users/tamas/work/iface/grid/ws/gp-arc-client-c/build/Debug/libarcclientc.dylib"
+  ffi_lib ['arc_client_c']
   #ffi_lib "/Users/tamas/tmp/bbbb/gp-arc-client-c/src/arc_client_r.bundle"
   
   attach_function :initialize, [], :string
   #ffi_lib "/Users/tamas/tmp/bbbb/gp-arc-client-c/src/arc_client_r.bundle"
   
   attach_function :initialize, [], :string