Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

Commit

Permalink
Add a group around V8 static libraries
Browse files Browse the repository at this point in the history
This has been suggested in the Wiki so it's probably a good idea to do it.
  • Loading branch information
ignisf committed Aug 22, 2017
1 parent 7b13866 commit 9977436
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/libv8/location.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def install!

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!
Expand Down

0 comments on commit 9977436

Please sign in to comment.