Project

General

Profile

Feature #12845

Do we need libruby-static.a?

Added by ko1 (Koichi Sasada) about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:77643]

Description

On install directory, lib/libruby-static.a consumes 53MB on my Ubuntu 16 machine (4.4.0-42-generic, gcc 5.4.0). (Because I always use --enable-shared option) libruby.so consumes 15MB on same build.

Can we drop this libruby-static.a file from install file list?
Does anyone use this file?

#1

Updated by nobu (Nobuyoshi Nakada) about 4 years ago

  • Status changed from Open to Closed

Applied in changeset r56434.


install-static-library option [ci skip]

  • configure.in (install-static-library): add option to enable/ disable to install static ruby library. defaulted to "no" if enable-shared. [Feature #12845]
  • tool/rbinstall.rb (local-arch-lib): respect the option.

Also available in: Atom PDF