[darwinbuild-changes] [147] trunk/darwinxref/plugins/loadDeps.c

source_changes at macosforge.org source_changes at macosforge.org
Wed Oct 4 01:51:59 PDT 2006


Revision: 147
          http://trac.macosforge.org/projects/darwinbuild/changeset/147
Author:   ssen
Date:     2006-10-04 01:51:59 -0700 (Wed, 04 Oct 2006)

Log Message:
-----------
The Csu object files like crt1.o are, in principle,
very similar to static archives, so count them as
"staticlib" dependencies.

Modified Paths:
--------------
    trunk/darwinxref/plugins/loadDeps.c

Modified: trunk/darwinxref/plugins/loadDeps.c
===================================================================
--- trunk/darwinxref/plugins/loadDeps.c	2005-08-04 06:51:40 UTC (rev 146)
+++ trunk/darwinxref/plugins/loadDeps.c	2006-10-04 08:51:59 UTC (rev 147)
@@ -158,7 +158,8 @@
 				free(type);
 				if (has_suffix(file, ".h")) {
 					type = "header";
-				} else if (has_suffix(file, ".a")) {
+				} else if (has_suffix(file, ".a")
+					   || has_suffix(file, ".o")) {
 					type = "staticlib";
 				} else {
 					type = "build";

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/darwinbuild-changes/attachments/20061004/d91e9949/attachment.html


More information about the darwinbuild-changes mailing list