[PATCH xserver 1/3] configure.ac: Use -Wl, -all_load when building Xorg on darwin

Jeremy Huddleston jeremyhu at apple.com
Mon Jan 9 01:16:00 PST 2012


Gah, yes, I see the typing-too-fast-o.

On Jan 9, 2012, at 1:07 AM, Jeremy Huddleston wrote:

> Signed-off-by: Jeremy Huddleston <jeremyhu at apple.com>
> ---
> configure.ac |    7 +++++++
> 1 files changed, 7 insertions(+), 0 deletions(-)
> 
> diff --git a/configure.ac b/configure.ac
> index 6de92b4..cb942fa 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -1680,6 +1680,13 @@ if test "x$XORG" = xyes; then
> 	  gnu*)
> 		XORG_OS_SUBDIR="hurd"
> 		;;
> +	  darwin*)
> +		XORG_OS_SUBDIR="stub"
> +		LDFLAGS="$LDFLAGS -Wl,-all_load"
> +		AC_MSG_NOTICE([m4_text_wrap(m4_join([ ],
> +		[Support for teh Xorg DDX on Mac OS X is in the early stages.],
> +		[If you intended to build XQuartz, please reconfigure with the appropriate options]))])
> +		;;
> 	  *)
> 		XORG_OS_SUBDIR="stub"
> 		AC_MSG_NOTICE([m4_text_wrap(m4_join([ ],
> -- 
> 1.7.7.4
> 
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
> 



More information about the xorg-devel mailing list