Skip to content

--enable-static produces thin archives on Linux #30335

@branchseer

Description

@branchseer

This makes it inconvenient to distribute Node.js as a prebuilt static library for embedders.

Based on what I learned from #7957 (comment), thin archives save space and compilation time, and they are turned off if the build target is a static library and the OS is solaris.

Shouldn't the operator be or instead of and? From what I understand SmartOS can't handle thin archives so they should be disabled whatever the build target is.

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildIssues and PRs related to build files or the CI.questionIssues that look for answers.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions