[PATCH xserver 2/4] configure.ac: Use -Wl, -all_load when building Xorg on darwin
Jeremy Huddleston
jeremyhu at apple.com
Fri Jan 13 12:07:36 PST 2012
This is not the proper fix, and I retract this patch. Please see my sdksyms.sh changes (just sent to the list) for the proper fix.
--Jeremy
On Jan 11, 2012, at 12:40 PM, Jeremy Huddleston wrote:
> Signed-off-by: Jeremy Huddleston <jeremyhu at apple.com>
> ---
> configure.ac | 9 +++++++++
> 1 files changed, 9 insertions(+), 0 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index a203ab2..c9acb2b 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -1461,6 +1461,9 @@ AC_SUBST([UTILS_SYS_LIBS])
> # Some platforms require extra flags to do this. libtool should set the
> # necessary flags for each platform when -export-dynamic is passed to it.
> LD_EXPORT_SYMBOLS_FLAG="-export-dynamic"
> +case $host_os in
> + darwin*) LD_EXPORT_SYMBOLS_FLAG="$LD_EXPORT_SYMBOLS_FLAG -Wl,-all_load" ;;
> +esac
> AC_SUBST([LD_EXPORT_SYMBOLS_FLAG])
>
> dnl Imake defines SVR4 on SVR4 systems, and many files check for it, so
> @@ -1687,6 +1690,12 @@ if test "x$XORG" = xyes; then
> gnu*)
> XORG_OS_SUBDIR="hurd"
> ;;
> + darwin*)
> + XORG_OS_SUBDIR="stub"
> + AC_MSG_NOTICE([m4_text_wrap(m4_join([ ],
> + [Support for the 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