-
Notifications
You must be signed in to change notification settings - Fork 11
Install internal headers that @tmm1 needs to build his shady gems #2
Conversation
@@ -499,6 +499,8 @@ def prepare(mesg, basedir, subdirs=nil) | |||
end | |||
noinst = nil if noinst.empty? | |||
install_recursive(File.join(srcdir, "include"), rubyhdrdir, :no_install => noinst, :glob => "*.h", :mode => $data_mode) | |||
install_recursive(srcdir, rubyhdrdir, :no_install => noinst, :glob => "*.h", :mode => $data_mode) | |||
install_recursive(srcdir, rubyhdrdir, :no_install => noinst, :glob => "*.inc", :mode => $data_mode) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome. You can probably combine the globs into one line *.{h,inc}
, and we'll want to use install
instead of install_recursive
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i switched it to a one-liner, but we need install_recursive since install doesn't allow globs. i think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm that doesn't work either since the globbing didn't support {}. changed it back.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This good to land?
Will Farrington
System Operations Engineer
GitHub, Inc.
On Feb 11, 2013, at 11:08 PM, "Scott J. Goldman" notifications@github.com wrote:
In tool/rbinstall.rb:
@@ -499,6 +499,8 @@ def prepare(mesg, basedir, subdirs=nil)
end
noinst = nil if noinst.empty?
install_recursive(File.join(srcdir, "include"), rubyhdrdir, :no_install => noinst, :glob => "*.h", :mode => $data_mode)
- install_recursive(srcdir, rubyhdrdir, :no_install => noinst, :glob => "*.h", :mode => $data_mode)
- install_recursive(srcdir, rubyhdrdir, :no_install => noinst, :glob => "*.inc", :mode => $data_mode)
hmm that doesn't work either since the globbing didn't support {}. changed it back.—
Reply to this email directly or view it on GitHub.
Okay, I tested this:
Gonna merge. |
Install internal headers that @tmm1 needs to build his shady gems
cc @wfarr who wanted this for his ruby-build shenanigans
cc @tmm1 who knows everything