Kirill Smelkov : winegcc: Do use DSO full name for .so arguments.

Alexandre Julliard julliard at winehq.org
Mon Apr 26 13:59:30 CDT 2010


Module: wine
Branch: master
Commit: b25cd21df2d87f590d5bcff7ebc368dec43730bf
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=b25cd21df2d87f590d5bcff7ebc368dec43730bf

Author: Kirill Smelkov <kirr at mns.spb.ru>
Date:   Fri Apr 23 12:55:28 2010 +0400

winegcc: Do use DSO full name for .so arguments.

---

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

diff --git a/tools/winegcc/winegcc.c b/tools/winegcc/winegcc.c
index b7c0f91..10a4d7a 100644
--- a/tools/winegcc/winegcc.c
+++ b/tools/winegcc/winegcc.c
@@ -739,10 +739,10 @@ static void build(struct options* opts)
             switch(files->base[j][1])
             {
             case 'l':
-            case 's':
             case 'd':
                 strarray_add(link_args, strmake("-l%s", name));
                 break;
+            case 's':
             case 'o':
                 strarray_add(link_args, name);
                 break;
@@ -922,9 +922,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