Use proper create_makefile
Using create_makefile('liboga/liboga') will compile liboga.so into
path-to-gem/lib/liboga/ and therefore require_relative in oga.rb will fail.
Therefore the right parameter for create_makefile is 'liboga' ->
path-to-gem/lib/liboga.so
This commit is contained in:
1 parent
9649b50cc9
commit
0b096dfe25
1 file changed
+1
-1
+1
-1
@@ -10,4 +10,4 @@ else
|
||||
$CFLAGS << ' -O3'
|
||||
end
|
||||
|
||||
create_makefile('liboga/liboga')
|
||||
create_makefile('liboga')
|
||||
Reference in new issue
Block a user