Skip to content

IO::Compress::Brotli makefile error with static build #6

@vadimkantorov

Description

@vadimkantorov

I have had to patch the Makefile like so:

perl Makefile.PL LINKTYPE=static
sed -i 's/$(CP) $(MYEXTLIB) "$@"/$(CP) $(MYEXTLIB) "$(dir $@)"/' Makefile                                                                 
make && make install

Otherwise this error happens:

2024-11-27T14:59:02.1061340Z cp brotli/libbrotlienc.a brotli/libbrotlidec.a brotli/libbrotlicommon.a "blib/arch/auto/IO/Compress/Brotli/Brotli.a"
2024-11-27T14:59:02.1073236Z cp: target 'blib/arch/auto/IO/Compress/Brotli/Brotli.a' is not a directory

(while using https://cpan.metacpan.org/authors/id/T/TI/TIMLEGGE/IO-Compress-Brotli-0.017.tar.gz)

Originally reported at:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions