Made library name cross-platform

This commit is contained in:
Dan Hirsch 2014-01-08 20:17:56 +01:00
parent 905183cddc
commit 8bd6671f90

View file

@ -4,7 +4,7 @@ module Hammer
module Internal module Internal
extend FFI::Library extend FFI::Library
ffi_lib 'libhammer.dylib' ffi_lib 'hammer'
# Maybe we can implement Hammer::Parser with FFI::DataConverter. # Maybe we can implement Hammer::Parser with FFI::DataConverter.
# That way, most hammer functions won't need to be wrapped. # That way, most hammer functions won't need to be wrapped.