Index: config/gen/makefiles/dynclasses_pl.in
===================================================================
RCS file: /cvs/public/parrot/config/gen/makefiles/dynclasses_pl.in,v
retrieving revision 1.4
diff -u -u -r1.4 dynclasses_pl.in
--- config/gen/makefiles/dynclasses_pl.in	4 Nov 2004 09:07:16 -0000	1.4
+++ config/gen/makefiles/dynclasses_pl.in	7 Nov 2004 14:08:33 -0000
@@ -9,6 +9,9 @@
 our $PERL = "${perl}";
 our $LOAD_EXT = "${load_ext}";
 our $O = "${o}";
+our $LIBPARROT = "../src/extend${o}";
+    # XXX: ultimately, this should be replaced with:
+    #  $LIBPARROT = "-L../blib/lib -lparrot";
 our $CFLAGS = "${ccflags} ${cc_debug} ${ccwarn} ${cc_hasjit} ${cg_flag} ${gc_flag}";
 our $PMC2C = "$PERL ${build_dir}${slash}classes${slash}pmc2c2.pl";
 
@@ -23,8 +26,8 @@
 
 sub partial_link_cmd {
     my ($target, @sources) = @_;
-    "$LD $CFLAGS $LDFLAGS $LD_LOAD_FLAGS ".
-    "${cc_o_out}" . $target . " " .
+    "$LD $CFLAGS $LDFLAGS $LD_LOAD_FLAGS $LIBPARROT ".
+    "-o " . $target . " " .
     join(" ", @sources);
 }
 
