summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-03-20 01:18:51 +0000
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-03-20 01:18:51 +0000
commit47546bdc75c953c94222c706d6191b025e9c370e (patch)
tree2197f544d0e827789360ca4b0463f4b672ef6175
parentd70f4dfb4eb69457acbfb70b97021cc476396d3a (diff)
downloadxine-lib-47546bdc75c953c94222c706d6191b025e9c370e.tar.gz
xine-lib-47546bdc75c953c94222c706d6191b025e9c370e.tar.bz2
On Darwin we also have to enable explicitly the text relocations. Thanks to Emanuele Giaquinta for pointing me at the right LDFLAG.
CVS patchset: 8731 CVS date: 2007/03/20 01:18:51
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index c25491240..93cdab2e7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2369,6 +2369,9 @@ if test "x$enable_impure_text" = xyes; then
IMPURE_TEXT_LDFLAGS="-z textoff"
fi
;;
+ *-darwin*)
+ IMPURE_TEXT_LDFLAGS="-read-only-relocs warning"
+ ;;
esac
fi
AC_SUBST(IMPURE_TEXT_LDFLAGS)