Changeset 8704
- Timestamp:
- 01/16/06 18:17:43 (3 years ago)
- Files:
-
- 1 modified
-
Makefile.PL (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
Makefile.PL
r8673 r8704 317 317 my $libs = parrot_config($base, $parrot_config, 'libs'); 318 318 my $icuflags = parrot_config($base, $parrot_config, 'icu_shared'); 319 my $include_path = parrot_config($base, $parrot_config, 'prefix') . parrot_config($base, $parrot_config, 'inc'); 319 my $include_path = parrot_config($base, $parrot_config, 'prefix') . parrot_config($base, $parrot_config, 'inc'); 320 my $rpath_blib = parrot_config($base, $parrot_config, 'rpath_blib'); 320 321 321 322 # Convert flags to -optc-* … … 325 326 $include_path =~ s/-/-optc-/g; 326 327 $embed_flags .= " -I$include_path" if $include_path =~ /\S/; 328 $rpath_blib =~ s/(^| )-/$1-optl-/g; 327 329 328 330 $embed_flags .= " -I$base/include -L$base/blib/lib -L$base/lib/blib/lib -DPUGS_HAVE_PARROT -L/usr/local/lib $ldflags "; … … 330 332 my $config = "$base/src/parrot_config$Config{_o}"; 331 333 $ghc_output .= " $config " if -e $config; 334 $ccdlflags .= " $rpath_blib "; 332 335 333 336 # parrot include paths for hsc2hs
