[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Pass command line parameters from dh_ruby to extconf.rb



Hi,

On 2023-10-30 20:11, Antonio Terceiro wrote:
On Mon, Oct 30, 2023 at 05:07:30PM +0200, Andrius Merkys wrote:
Please keep me in CC, I am not subscribed.

I am building a package with Ruby bindings. My debian/rules has the
following:

execute_after_dh_auto_install:
         dh_auto_install --buildsystem ruby

I noticed that during the install step this becomes:

dh_ruby --install <builddir>/debian/tmp

Which in turn boils down to call:

/usr/bin/ruby3.1 -I/usr/lib/ruby/vendor_ruby extconf.rb

I want to append command line parameters (configuration options) to this
call. Is there a simple way to do so?

Not at the moment. We would need a new feature in gem2deb to do this.

Thanks for prompt response. For the time being I will call 'ruby -I/usr/lib/ruby/vendor_ruby extconf.rb' directly.

Best,
Andrius


Reply to: