1
0
Fork 0
mirror of https://github.com/rubyjs/libv8 synced 2023-03-27 23:21:48 -04:00

Add a group around V8 static libraries

This has been suggested in the Wiki so it's probably a good idea to do it.
This commit is contained in:
Petko Bordjukov 2017-08-22 15:49:22 +03:00
parent 7b13866b58
commit 99774366a4

View file

@ -29,7 +29,7 @@ module Libv8
def configure(context = MkmfContext.new)
context.incflags.insert 0, Libv8::Paths.include_paths.map{ |p| "-I#{p}" }.join(" ") + " "
context.ldflags.insert 0, Libv8::Paths.object_paths.join(" ") + " "
context.ldflags.insert 0, "-Wl,--start-group " + Libv8::Paths.object_paths.join(" ") + " -Wl,--end-group "
end
def verify_installation!