Ticket #282: pbc_to_exe.p1

File pbc_to_exe.p1, 0.8 KB (added by doughera, 13 years ago)
Line 
1pbc_to_exe should use 'link' to link.  (See config/init/defaults.pm
2for details.)
3
4--- parrot-current/tools/dev/pbc_to_exe_gen.pl
5+++ parrot-andy/tools/dev/pbc_to_exe_gen.pl
6@@ -373,10 +373,10 @@
7     .param int install :optional
8 
9     $P0 = '_config'()
10-    .local string cc, ld, link_dynamic, linkflags, ld_out, libparrot, libs, o
11+    .local string cc, link, link_dynamic, linkflags, ld_out, libparrot, libs, o
12     .local string rpath, osname, build_dir, slash, icushared
13     cc           = $P0['cc']
14-    ld           = $P0['ld']
15+    link         = $P0['link']
16     link_dynamic = $P0['link_dynamic']
17     linkflags    = $P0['linkflags']
18     ld_out       = $P0['ld_out']
19@@ -407,8 +407,6 @@
20     pathquote  = '"'
21   not_windows:
22 
23-    .local string link
24-    link  = ld
25     link .= ' '
26     link .= ld_out
27     link .= exefile