diff --git a/build-emacs-for-macos b/build-emacs-for-macos index a090140..dbd38fc 100755 --- a/build-emacs-for-macos +++ b/build-emacs-for-macos @@ -314,7 +314,7 @@ class Build configure_flags << '--with-xwidgets' end configure_flags << native_comp_configure_flag if options[:native_comp] - configure_flags << '--without-rsvg' unless options[:rsvg] + configure_flags << '--without-rsvg' if options[:rsvg] == false run_cmd './configure', *configure_flags @@ -819,7 +819,7 @@ if __FILE__ == $PROGRAM_NAME work_dir: File.expand_path(__dir__), native_full_aot: false, parallel: Etc.nprocessors, - rsvg: false, + rsvg: true, xwidgets: true } @@ -863,9 +863,10 @@ if __FILE__ == $PROGRAM_NAME cli_options[:native_full_aot] = v end - opts.on('--rsvg', 'Enable SVG image support via librsvg, ' \ - 'can yield a unstable build (default: disabled)') do - cli_options[:rsvg] = true + opts.on('--[no-]rsvg', + 'Enable/disable SVG image support via librsvg ' \ + '(default: enabled)') do |v| + cli_options[:rsvg] = v end opts.on('--no-titlebar', 'Apply no-titlebar patch (default: disabled)') do