Remove -rpath option

Jeremy White jwhite at codeweavers.com
Thu Jul 12 17:07:48 CDT 2001


Discussion:
    When mixing and matching Wine builds, the -rpath option
can create obscure and hard to track down problems.
I know of no benefit to this option (and further suspect
that any benefit may not be outweighed by the problems
it raises).

Changelog:
    Remove the -rpath option from the link command.
-------------- next part --------------
Index: configure.in
===================================================================
RCS file: /home/wine/wine/configure.in,v
retrieving revision 1.216
diff -u -r1.216 configure.in
--- configure.in	2001/07/12 02:46:23	1.216
+++ configure.in	2001/07/12 21:41:20
@@ -650,7 +650,7 @@
   ])
   if test "$ac_cv_c_dll_gnuelf" = "yes"
   then
-    LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%) -Wl,-rpath,\$(libdir)"
+    LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
     LDDLLFLAGS="-Wl,-Bsymbolic"
   else
     AC_CACHE_CHECK(whether we can build a UnixWare (Solaris) dll,


More information about the wine-patches mailing list