From 291885e0bde5a9ed4c91c8debafa7b14f2d87a0d Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Tue, 29 Jan 2013 08:39:30 +0100 Subject: [PATCH] Fix library order On OS X dialog windows could not get focus if -lXaw appeared after -lX11 -lXt in the linker command. This was cured by moving @FRONTEND_FLAGS@ (which expands to -lXaw) first in the LDADD parameter of the automake file. --- Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile.am b/Makefile.am index aa34dbc..b6a709b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -57,7 +57,7 @@ xboard_SOURCES = backend.c backend.h backendz.h \ ### SUBDIRS = po -xboard_LDADD = -lm @X_LIBS@ @LIBINTL@ @FRONTEND_LIBS@ @CAIRO_LIBS@ +xboard_LDADD = -lm @FRONTEND_LIBS@ @X_LIBS@ @LIBINTL@ @CAIRO_LIBS@ EXTRA_DIST = pixmaps shogi png sounds winboard \ xboard.texi gpl.texinfo texi2man texinfo.tex xboard.man xboard.desktop \ -- 1.7.0.4