Skip to content

Does not support static linking #75

@ddevault

Description

@ddevault

I can work around this like so (building Params::Validate in this example):

perl ./Build.PL --installdirs=vendor --config ldflags="-static" --config dlext="a"
./Build 2>/dev/null || true
ar cvr blib/arch/auto/Params/Validate/XS/XS.a lib/Params/Validate/XS.o
./Build

I dug into this a little bit and arrived at link_c (lib/Module/Build/Base.pm:5331) as the main place where changes would have to be made. I've never used Perl so some patience may be required as I examine this further.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions