Add '-read_only_relocs warning' to LDDLLFLAGS on Darwin.

This commit is contained in:
Emmanuel Maillard 2005-03-01 10:46:27 +00:00 committed by Alexandre Julliard
parent 6d582fed50
commit 4fe448ddf9
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@ -14109,7 +14109,7 @@ echo "${ECHO_T}$ac_cv_c_dll_macho" >&6
if test "$ac_cv_c_dll_macho" = "yes"
then
LIBEXT="dylib"
LDDLLFLAGS="-bundle -flat_namespace -undefined suppress"
LDDLLFLAGS="-bundle -flat_namespace -undefined suppress -read_only_relocs warning"
LDSHARED="\$(CC) -dynamiclib"
CFLAGS="$CFLAGS -ffixed-r13 -no-cpp-precomp"
STRIP="$STRIP -u -r"

View File

@ -1005,7 +1005,7 @@ case $host_os in
if test "$ac_cv_c_dll_macho" = "yes"
then
LIBEXT="dylib"
LDDLLFLAGS="-bundle -flat_namespace -undefined suppress"
LDDLLFLAGS="-bundle -flat_namespace -undefined suppress -read_only_relocs warning"
LDSHARED="\$(CC) -dynamiclib"
CFLAGS="$CFLAGS -ffixed-r13 -no-cpp-precomp"
STRIP="$STRIP -u -r"