Add ability to search only for native shared object, and expose the
functionality to the rest of gccld.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10113 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/gccld/gccld.h b/tools/gccld/gccld.h
index 9b7eb1e..a2d2eb8 100644
--- a/tools/gccld/gccld.h
+++ b/tools/gccld/gccld.h
@@ -58,6 +58,10 @@
 std::auto_ptr<Module>
 LoadObject (const std::string & FN, std::string &OutErrorMessage);
 
+std::string FindLib(const std::string &Filename,
+                    const std::vector<std::string> &Paths,
+                    bool SharedObjectOnly = false);
+  
 bool
 LinkLibraries (const char * progname,
                Module * HeadModule,