Parcourir la source

gcc: Link with the `.lo' file of dependencies, not the `.o' file.

* gcc-plugin/tests/run-test.in (compile/match)[c->o]: Return the `.lo'
  file, not the `.o' file.
Ludovic Courtès il y a 14 ans
Parent
commit
a4f02a3e28
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      gcc-plugin/tests/run-test.in

+ 1 - 1
gcc-plugin/tests/run-test.in

@@ -283,7 +283,7 @@ otherwise."
 
   (define (c->o c-file)
     (string-append (substring c-file 0 (- (string-length c-file) 2))
-                   ".o"))
+                   ".lo"))
 
   (log "~a directives found in `~a'" (length directives) file)