mirror of
https://github.com/rubyjs/libv8
synced 2023-03-27 23:21:48 -04:00
Added some paths and made them as strings
This commit is contained in:
parent
f4e5a021a8
commit
b068a4c4d1
1 changed files with 8 additions and 2 deletions
10
lib/libv8.rb
10
lib/libv8.rb
|
@ -3,7 +3,13 @@ require 'pathname'
|
|||
require 'libv8/version'
|
||||
|
||||
module Libv8
|
||||
def self.LIB_PATH
|
||||
Pathname(__FILE__).dirname.join('libv8', 'build', 'v8', 'libv8.a')
|
||||
LIBRARY_PATH = Pathname(__FILE__).dirname.join('libv8').to_s
|
||||
def self.library_path
|
||||
LIBRARY_PATH
|
||||
end
|
||||
|
||||
INCLUDE_PATH = Pathname(__FILE__).dirname.join('libv8', 'v8', 'include').to_s
|
||||
def self.include_path
|
||||
INCLUDE_PATH
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue