From: H.G. Muller Date: Tue, 29 Jan 2013 07:39:30 +0000 (+0100) Subject: Fix library order X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=291885e0bde5a9ed4c91c8debafa7b14f2d87a0d;hp=ff08cbfd9d4479b0ee36ac8c5a69d08392372343;p=xboard.git 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. --- 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 \