52f1825
--- configure.orig	2010-10-04 21:35:31.000000000 +0200
52f1825
+++ configure	2010-10-04 21:37:48.000000000 +0200
52f1825
@@ -6775,14 +6775,14 @@
ae0d4ed
 
85de186
 fi
ae0d4ed
 
85de186
-      as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
85de186
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
f61749e
-$as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
f61749e
+      as_ac_var=`$as_echo "ac_cv_cflags_-fPIC" | $as_tr_sh`
85de186
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC" >&5
52f1825
+$as_echo_n "checking whether the compiler supports -fPIC " >&6; }
52f1825
 if eval "test \"\${$as_ac_var+set}\"" = set; then :
f61749e
   $as_echo_n "(cached) " >&6
6e0fcb5
 else
6e0fcb5
   ac_wine_try_cflags_saved=$CFLAGS
6e0fcb5
-CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
6e0fcb5
+CFLAGS="$CFLAGS -fPIC"
85de186
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
85de186
 /* end confdefs.h.  */
299eb80
 int main(int argc, char **argv) { return 0; }
52f1825
@@ -6800,17 +6800,17 @@
85de186
 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
f61749e
 $as_echo "$ac_res" >&6; }
85de186
 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
3ac146d
-  LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
52f1825
-                       LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
3ac146d
+  LDRPATH_INSTALL=""
52f1825
+                       LDRPATH_LOCAL=""
98c85fd
 else
98c85fd
-  as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
98c85fd
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
98c85fd
-$as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
98c85fd
+  as_ac_var=`$as_echo "ac_cv_cflags_-fPIC" | $as_tr_sh`
98c85fd
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC" >&5
52f1825
+$as_echo_n "checking whether the compiler supports -fPIC " >&6; }
52f1825
 if eval "test \"\${$as_ac_var+set}\"" = set; then :
98c85fd
   $as_echo_n "(cached) " >&6
f42fe4a
 else
98c85fd
   ac_wine_try_cflags_saved=$CFLAGS
98c85fd
-CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
98c85fd
+CFLAGS="$CFLAGS -fPIC"
98c85fd
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
98c85fd
 /* end confdefs.h.  */
299eb80
 int main(int argc, char **argv) { return 0; }