Ticket #535: link-installed.patch
File link-installed.patch, 3.2 KB (added by fperrad, 13 years ago) |
---|
-
config/init/hints/cygwin.pm
19 19 20 20 my $build_dir = $conf->data->get('build_dir'); 21 21 $build_dir =~ s/ /\\ /g; 22 my $bindir = $conf->data->get('bindir'); 23 $bindir =~ s/ /\\ /g; 22 24 my $libparrot_shared = $conf->data->get('libparrot_shared'); 23 25 # force cyg prefix 24 26 $libparrot_shared =~ s/^lib/cyg/g; … … 49 51 libparrot_shared => $libparrot_shared, 50 52 blib_dir => '.', 51 53 libparrot_ldflags => '-L' . $build_dir . ' -lparrot', 54 inst_libparrot_ldflags => '-L' . $bindir . ' -lparrot', 52 55 ); 53 56 54 57 # inet_aton needs to be defined on Cygwin. -
config/init/hints/mswin32.pm
37 37 $conf->data->set( build_dir => Win32::GetShortPathName($build_dir) ); 38 38 } 39 39 40 my $bindir = $conf->data->get('bindir'); 41 42 if ( $bindir =~ /\s/ ) { 43 $conf->data->set( bindir => Win32::GetShortPathName($bindir) ); 44 } 45 40 46 if ($is_msvc) { 41 47 my $msvcversion = $conf->data->get('msvcversion'); 42 48 … … 240 246 ld_load_flags => '-shared ', 241 247 ld_share_flags => '-shared ', 242 248 libparrot_ldflags => "\"$build_dir\\libparrot.dll\"", 249 inst_libparrot_ldflags => "\"$bindir\\libparrot.dll\"", 243 250 ncilib_link_extra => 'src/libnci_test.def', 244 251 sym_export => '__declspec(dllexport)', 245 252 sym_import => '__declspec(dllimport)', -
config/inter/libparrot.pm
128 128 ); 129 129 } 130 130 131 unless ( defined( $conf->data->get('inst_libparrot_ldflags') ) ) { 132 $conf->data->set(inst_libparrot_ldflags => 133 '-L' 134 . $conf->data->get('libdir') 135 . ' -lparrot' 136 ); 137 } 138 131 139 $self->set_result( $parrot_is_shared ? 'yes' : 'no' ); 132 140 133 141 return 1; -
tools/dev/mk_language_shell.pl
316 316 CFLAGS := @ccflags@ @cc_shared@ @cc_debug@ @ccwarn@ @cc_hasjit@ @cg_flag@ @gc_flag@ 317 317 CC_OUT := @cc_o_out@ 318 318 LD_OUT := @ld_out@ 319 #IF(parrot_is_shared):LIBPARROT := @ libparrot_ldflags@319 #IF(parrot_is_shared):LIBPARROT := @inst_libparrot_ldflags@ 320 320 #ELSE:LIBPARROT := 321 321 322 322 OPS2C := $(PERL) $(LIB_DIR)/tools/build/ops2c.pl … … 409 409 CFLAGS := @ccflags@ @cc_shared@ @cc_debug@ @ccwarn@ @cc_hasjit@ @cg_flag@ @gc_flag@ 410 410 CC_OUT := @cc_o_out@ 411 411 LD_OUT := @ld_out@ 412 #IF(parrot_is_shared):LIBPARROT := @ libparrot_ldflags@412 #IF(parrot_is_shared):LIBPARROT := @inst_libparrot_ldflags@ 413 413 #ELSE:LIBPARROT := 414 414 415 415 PMC2C_INCLUDES := --include $(SRC_DIR) --include $(SRC_DIR)/pmc