-
Notifications
You must be signed in to change notification settings - Fork 80
Open
Labels
Description
Installing Perl 5.38.2 on 64-bit PowerPC (under OS 10.5 / Darwin 9, the only one it can be done on), the make test
step choked on “ExtUtils-MakeMaker/t/04-xs-rpath-darwin.t”. Examination showed that the tiny dummy library it compiles to test linking against was not being built for the correct architecture, causing a link failure.
The fix is to edit line 202 of that file (in the function “compile_mylib”) so that the command line being constructed includes “split(' ', $ENV{'CFLAGS'}), ”. Once this is done, the test library compiles for the same architecture etc. as Perl, and linkage succeeds.