Skip to content

Fix Config core paths for CBuilder#831

Closed
fglock wants to merge 1 commit into
masterfrom
fix/moosex-types-moose-cbuilder
Closed

Fix Config core paths for CBuilder#831
fglock wants to merge 1 commit into
masterfrom
fix/moosex-types-moose-cbuilder

Conversation

@fglock
Copy link
Copy Markdown
Owner

@fglock fglock commented May 28, 2026

Summary

  • Make $Config{archlibexp} and $Config{privlibexp} absolute real paths under ~/.perlonjava/core
  • Create the synthetic CORE include directory on demand for CPAN build helpers
  • Add empty ldflags and lddlflags Config defaults
  • Add a unit test covering the Config core paths and linker flag defaults

Verification

  • make
  • timeout 180 ./jcpan -t ExtUtils::CBuilder
  • timeout 600 ./jcpan -t MooseX::Types::Moose

Expose absolute core library paths under ~/.perlonjava/core and create the
CORE include directory on demand so CPAN build helpers that probe
$Config{archlibexp}/CORE see a real directory.

Also provide empty ldflags and lddlflags defaults so ExtUtils::CBuilder does
not warn when environment linker flags are appended.

Generated with [Codex](https://openai.com/codex)

Co-Authored-By: Codex <codex@openai.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant