diff --git a/configure b/configure index ce49aed1f81..06e13d22b20 100755 --- a/configure +++ b/configure @@ -8380,7 +8380,7 @@ fi LIBWINE_INSTALL_LIB="libwine.so" - LIBWINE_LDFLAGS="-shared" + LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so" ;; diff --git a/configure.ac b/configure.ac index 019d549f13e..0a428553bc3 100644 --- a/configure.ac +++ b/configure.ac @@ -860,7 +860,7 @@ case $host_os in AC_SUBST(LIBWINE_SHAREDLIB,"libwine.so") AC_SUBST(LIBWINE_INSTALL_LIB,"libwine.so") - AC_SUBST(LIBWINE_LDFLAGS,"-shared") + AC_SUBST(LIBWINE_LDFLAGS,["-shared -Wl,-soname,libwine.so"]) ;; *)