Rakefile: LIBS default to -lm

This commit is contained in:
Yukihiro Matz Matsumoto
2012-12-18 22:29:24 +09:00
parent e7112424ec
commit 83c4ea8366
+1 -1
View File
@@ -34,7 +34,7 @@ else # including 'debug'
CFLAGS = if e then [e] else ['-g', '-O3'] end
end
LDFLAGS = [ENV['LDFLAGS']]
LIBS = [ENV['LIBS']]
LIBS = [ENV['LIBS'] || '-lm']
CFLAGS << "-Wall" << "-Werror-implicit-function-declaration" << "-I#{MRUBY_ROOT}/include"
if ENV['OS'] == 'Windows_NT'