diff -burN libapreq-1.2.orig/Cookie/Makefile.PL libapreq-1.2/Cookie/Makefile.PL --- libapreq-1.2.orig/Cookie/Makefile.PL 2001-04-03 12:24:08.000000000 -0700 +++ libapreq-1.2/Cookie/Makefile.PL 2003-11-04 15:41:21.000000000 -0800 @@ -27,7 +27,7 @@ @mm_args, 'INC' => "-I../c ". $src->inc, 'TYPEMAPS' => $src->typemaps, - 'LIBS' => "-L$root -lapreq", + 'OBJECT' => "Cookie.o $root/libapreq.a", 'dynamic_lib' => { 'OTHERLDFLAGS' => $src->otherldflags, }, diff -burN libapreq-1.2.orig/Request/Makefile.PL libapreq-1.2/Request/Makefile.PL --- libapreq-1.2.orig/Request/Makefile.PL 2001-04-03 12:24:09.000000000 -0700 +++ libapreq-1.2/Request/Makefile.PL 2003-11-04 15:43:27.000000000 -0800 @@ -27,7 +27,7 @@ @mm_args, 'INC' => "-I../c ". $src->inc, 'TYPEMAPS' => $src->typemaps, - 'LIBS' => "-L$root -lapreq", + 'OBJECT' => "Request.o $root/libapreq.a", 'dynamic_lib' => { 'OTHERLDFLAGS' => $src->otherldflags, },