You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wine/wine-rpath.patch

38 lines
1.3 KiB

19 years ago
--- configure.orig 2006-08-28 06:44:28.000000000 +0200
+++ configure 2006-08-28 06:46:41.000000000 +0200
@@ -15903,7 +15903,7 @@
19 years ago
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_wine_try_cflags_saved=$CFLAGS
-CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
+CFLAGS="$CFLAGS -fPIC"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
19 years ago
@@ -15969,7 +15969,7 @@
echo "${ECHO_T}$ac_cv_ld_rpath" >&6; }
if test "$ac_cv_ld_rpath" = "yes"
then
- LDEXERPATH="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
+ LDEXERPATH=""
19 years ago
19 years ago
fi
19 years ago
19 years ago
--- configure.ac.orig 2006-08-28 06:43:35.000000000 +0200
+++ configure.ac 2006-08-28 06:44:22.000000000 +0200
@@ -1121,14 +1121,6 @@
AC_SUBST(LDEXECFLAGS,["-Wl,--export-dynamic"])
fi
19 years ago
19 years ago
- AC_CACHE_CHECK([whether the linker accepts --rpath], ac_cv_ld_rpath,
- [WINE_TRY_CFLAGS([-fPIC -Wl,--rpath,\$ORIGIN/../lib],
- ac_cv_ld_rpath="yes",ac_cv_ld_rpath="no")])
- if test "$ac_cv_ld_rpath" = "yes"
- then
- AC_SUBST(LDEXERPATH,["-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"])
- fi
19 years ago
-
19 years ago
case $host_cpu in
*i[[3456789]]86* | x86_64)
AC_CACHE_CHECK([whether we can relocate the executable to 0x7bf00000], ac_cv_ld_reloc_exec,