5399e62
--- configure.orig	2008-11-05 12:25:10.000000000 +0300
5399e62
+++ configure	2008-11-06 22:22:27.000000000 +0300
5399e62
@@ -9306,14 +9306,14 @@
46f31ca
 fi
46f31ca
 
46f31ca
 
5399e62
-      as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
5399e62
-{ $as_echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
5399e62
-$as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
5399e62
+      as_ac_var=`$as_echo "ac_cv_cflags_-fPIC" | $as_tr_sh`
5399e62
+{ $as_echo "$as_me:$LINENO: checking whether the compiler supports -fPIC" >&5
5399e62
+$as_echo_n "checking whether the compiler supports -fPIC" >&6; }
46f31ca
 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5399e62
   $as_echo_n "(cached) " >&6
d229248
 else
d229248
   ac_wine_try_cflags_saved=$CFLAGS
d229248
-CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
d229248
+CFLAGS="$CFLAGS -fPIC"
d229248
 cat >conftest.$ac_ext <<_ACEOF
d229248
 /* confdefs.h.  */
d229248
 _ACEOF
5399e62
@@ -9369,8 +9369,8 @@
5399e62
 $as_echo "$ac_res" >&6; }
5399e62
 if test `eval 'as_val=${'$as_ac_var'}
5399e62
 		 $as_echo "$as_val"'` = yes; then
d1fcaa2
-  LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
d1fcaa2
-                       LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
d1fcaa2
+  LDRPATH_INSTALL=""
d25867b
+  LDRPATH_LOCAL=""
8009fb6
 else
5399e62
   as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
5399e62
 { $as_echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5