-Wl,-single_module breaks the configure script.

svn path=/trunk/; revision=20302
This commit is contained in:
Guy Harris 2007-01-04 11:55:05 +00:00
parent 461d5cc45f
commit fb85064c5e
1 changed files with 1 additions and 6 deletions

View File

@ -235,11 +235,6 @@ fi
AC_MSG_CHECKING(for platform-specific linker flags)
case "$host_os" in
darwin*)
#
# Add -Wl,-single_module; see the checkin comment for details
# of why we do that (it's considered preferable, at least in
# OS X 10.4 and later, by Apple, and it's needed for some
# packaged build work).
#
# Add -Wl,-search_paths_first to make sure that if we search
# directories A and B, in that order, for a given library, a
@ -249,7 +244,7 @@ darwin*)
# with a static version installed in /usr/local/lib rather than
# the system version in /usr/lib).
#
LDFLAGS="-Wl,-single_module -Wl,-search_paths_first $LDFLAGS"
LDFLAGS="-Wl,-search_paths_first $LDFLAGS"
AC_MSG_RESULT(Apple linker - added -Wl,-search_paths_first)
;;
cygwin*)