X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=msvc%2Fcreate-windef.pl;h=785abad338d9151c2c3868f287b909b45f035a00;hb=bf0f0a3a5279a3693c7d0b133c91810e4f7ec520;hp=241487d09932b15a96b59f51b009b5f064d158b6;hpb=b06a638552f95acbadb35b63d4c70095aac8f64e;p=mono.git diff --git a/msvc/create-windef.pl b/msvc/create-windef.pl index 241487d0993..785abad338d 100755 --- a/msvc/create-windef.pl +++ b/msvc/create-windef.pl @@ -5,11 +5,12 @@ use strict; my $outfile = shift || usage (); my @symbols = (); my %excludes = (); -my $cmd = "nm -D ../mono/mini/.libs/libmono.so"; +my $cmd = "nm -D ../mono/mini/.libs/libmono-2.0.so"; @excludes {qw( mono_class_setup_vtable_general_new mono_debugger_init mono_debugger_main mono_once mono_pthread_key_for_tls + mono_gc_pthread_create mono_gc_pthread_detach mono_gc_pthread_join )} = (); open (SYMS, "$cmd |") || die "Cannot run \$cmd': $!\n"; @@ -24,8 +25,9 @@ push @symbols, "MonoFixupCorEE"; open (OUT, ">$outfile") || die "Cannot open '$outfile': $!\n"; print OUT "; file generated by create-windef.pl\n"; -print OUT "LIBRARY mono.dll\nEXPORTS\n"; +print OUT "LIBRARY mono-2.0.dll\nEXPORTS\n"; print OUT join ("\n", @symbols); +print OUT "\n"; close (OUT);