Skip to content

Commit b494c30

Browse files
committed
Adjust extension location for correct install path
With existing layout the built shared library will end up in the `./lib` directory, but the expected location being checked is `./lib/vagrant`. Adjusting the path within the extension directory results in the proper adjustment to the installation path.
1 parent b616ef7 commit b494c30

File tree

5 files changed

+2
-3
lines changed

5 files changed

+2
-3
lines changed

Rakefile

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ require "rake/extensiontask"
77
$stdout.sync = true
88
$stderr.sync = true
99

10-
Rake::ExtensionTask.new "vagrant_ssl" do |ext|
11-
ext.lib_dir = "lib/vagrant"
10+
Rake::ExtensionTask.new "vagrant/vagrant_ssl" do |ext|
1211
end
1312

1413
# Load all the rake tasks from the "tasks" folder. This folder
File renamed without changes.
File renamed without changes.
File renamed without changes.

vagrant.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,6 @@ Gem::Specification.new do |s|
105105

106106
s.files = unignored_files
107107
s.executables = unignored_files.map { |f| f[/^bin\/(.*)/, 1] }.compact
108-
s.extensions = ["ext/vagrant_ssl/extconf.rb"]
108+
s.extensions = ["ext/vagrant/vagrant_ssl/extconf.rb"]
109109
s.require_path = 'lib'
110110
end

0 commit comments

Comments
 (0)