Ticket #4399 (closed defect: fixed)
Add support for cross-compilation with PERL path different between --build and --host
Reported by: | slyfox | Owned by: | andrew_b |
---|---|---|---|
Priority: | major | Milestone: | 4.8.29 |
Component: | mc-core | Version: | master |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | merged | Votes for changeset: | committed-master |
Description
NixOS (and some other cross-OS cases, or using localy-built perl) have different paths to build-time perl (--build) and run-time perl (--host). Build system does not distinguish between those. As a result build fails as (if we use ./configure PERL=${runtime}/perl):
install: cannot stat './mc.hlp.es': No such file or directory
The proposed change adds PERL_FOR_BUILD variable (similar to autoconf's CC_FOR_BUILD and friends) to fix the build for such special cases.
Attachments
Change History
Changed 2 years ago by slyfox
- Attachment 0001-configure.ac-introduce-PERL_FOR_BUILD.patch added
comment:1 Changed 2 years ago by andrew_b
- Status changed from new to accepted
- Owner set to andrew_b
- Branch state changed from no branch to on review
- Milestone changed from Future Releases to 4.8.29
Thanks!
Branch: 4399_perl_for_build
changeset:6b67d231a2f447cf5f33180c618c2a67849e6d15
comment:2 Changed 2 years ago by andrew_b
- Votes for changeset set to andrew_b
- Branch state changed from on review to approved
comment:3 Changed 2 years ago by andrew_b
- Status changed from accepted to testing
- Votes for changeset changed from andrew_b to committed-master
- Resolution set to fixed
- Branch state changed from approved to merged
Merged to master: [0ef7237eea2ef97e92b793c0429be4d1ea6ffc77].
Note: See
TracTickets for help on using
tickets.
0001-configure.ac-introduce-PERL_FOR_BUILD.patch