From 0b096dfe25d71115c50af3d7a6171728a21c42a2 Mon Sep 17 00:00:00 2001 From: Benjamin Klotz Date: Mon, 1 Sep 2014 08:12:13 +0200 Subject: [PATCH] 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 --- ext/c/extconf.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/c/extconf.rb b/ext/c/extconf.rb index a482b69..8cb21ae 100644 --- a/ext/c/extconf.rb +++ b/ext/c/extconf.rb @@ -10,4 +10,4 @@ else $CFLAGS << ' -O3' end -create_makefile('liboga/liboga') +create_makefile('liboga')