Alexandre Julliard : winegcc: Set the soname of all dlls on Android.

Alexandre Julliard julliard at winehq.org
Wed Jul 20 10:28:52 CDT 2016


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed Jul 20 14:55:11 2016 +0900

winegcc: Set the soname of all dlls on Android.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 tools/winegcc/winegcc.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/winegcc/winegcc.c b/tools/winegcc/winegcc.c
index 119e12b..514a574 100644
--- a/tools/winegcc/winegcc.c
+++ b/tools/winegcc/winegcc.c
@@ -1130,7 +1130,8 @@ static void build(struct options* opts)
         }
         break;
     case PLATFORM_ANDROID:
-        /* not supported on Android */
+        /* the Android loader requires a soname for all libraries */
+        strarray_add( link_args, strmake( "-Wl,-soname,%s.so", output_name ));
         break;
     default:
         if (opts->image_base)




More information about the wine-cvs mailing list