… | |
… | |
60 | $ENV{CC} = $Config{cc}; |
60 | $ENV{CC} = $Config{cc}; |
61 | $ENV{CPPFLAGS} = "$Config{cppflags} -I$Config{archlibexp}/CORE"; |
61 | $ENV{CPPFLAGS} = "$Config{cppflags} -I$Config{archlibexp}/CORE"; |
62 | $ENV{CFLAGS} = $Config{ccflags}; |
62 | $ENV{CFLAGS} = $Config{ccflags}; |
63 | $ENV{LDFLAGS} = "$Config{ldflags} $Config{ccdlflags}"; |
63 | $ENV{LDFLAGS} = "$Config{ldflags} $Config{ccdlflags}"; |
64 | $ENV{LINKER} = $Config{ld}; # nonstandard |
64 | $ENV{LINKER} = $Config{ld}; # nonstandard |
65 | $ENV{LIBS} = "-L$Config{archlibexp}/CORE -L$Config{privlibexp} -lperl $Config{libs}"; |
65 | $ENV{LIBS} = "-L$Config{archlibexp}/CORE -L$Config{privlibexp} -lperl $Config{perllibs}"; |
66 | |
66 | |
67 | system $ENV{SHELL}, -c => "./configure --prefix \Q$Config{prefixexp}\E" |
67 | system $ENV{SHELL}, -c => "./configure --prefix \Q$Config{prefixexp}\E" |
68 | and exit $? >> 8; |
68 | and exit $? >> 8; |
69 | } |
69 | } |
70 | } |
70 | } |