Alexandre Julliard : winegcc: Don't use the library full name for .so libs.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Apr 4 16:15:27 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 1cb75101e6bcd120a7ca338f411af6b52960522f
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=1cb75101e6bcd120a7ca338f411af6b52960522f

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Apr  4 13:45:16 2006 +0200

winegcc: Don't use the library full name for .so libs.

---

 tools/winegcc/winegcc.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/tools/winegcc/winegcc.c b/tools/winegcc/winegcc.c
index 43a6b07..f897c9a 100644
--- a/tools/winegcc/winegcc.c
+++ b/tools/winegcc/winegcc.c
@@ -401,8 +401,6 @@ static void add_library( strarray *lib_d
         }
         break;
     case file_so:
-        strarray_add(files, strmake("-s%s", fullname));
-        break;
     default:
         /* keep it anyway, the linker may know what to do with it */
         strarray_add(files, strmake("-l%s", library));
@@ -628,9 +626,9 @@ static void build(struct options* opts)
 	switch(files->base[j][1])
 	{
 	    case 'l':
+	    case 's':
 		strarray_add(link_args, strmake("-l%s", name));
 		break;
-	    case 's':
 	    case 'a':
 	    case 'o':
 		strarray_add(link_args, name);




More information about the wine-cvs mailing list