From 63f38a9064dab3d3e4bd5768ddbf9dd7b66d5c1f Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Fri, 20 Feb 1998 07:30:20 -0500 Subject: oops From-SVN: r18140 --- gcc/collect2.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gcc/collect2.c b/gcc/collect2.c index 79e59b5..fac696e 100644 --- a/gcc/collect2.c +++ b/gcc/collect2.c @@ -1534,7 +1534,7 @@ main (argc, argv) undefined symbols from repository information. */ /* On AIX we do this later. */ -#ifndef COLLECT_EXPORT_LIST +#ifdef COLLECT_EXPORT_LIST do_tlink (ld1_argv, object_lst); #endif @@ -1542,11 +1542,13 @@ main (argc, argv) constructor or destructor list, just return now. */ if (rflag || ! do_collecting) { +#ifdef COLLECT_EXPORT_LIST /* But make sure we delete the export file we may have created. */ if (export_file != 0 && export_file[0]) maybe_unlink (export_file); if (import_file != 0 && import_file[0]) maybe_unlink (import_file); +#endif return 0; } -- cgit v1.1