Browse Source

examples: Pass $(X_LIBS) before `-lX11' when linking `mandelbrot'.

Ludovic Courtès 13 years ago
parent
commit
d207eb971e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/Makefile.am

+ 1 - 1
examples/Makefile.am

@@ -719,7 +719,7 @@ endif
 mandelbrot_mandelbrot_CPPFLAGS = $(AM_CFLAGS) $(AM_CPPFLAGS)
 if HAVE_X11
 mandelbrot_mandelbrot_CPPFLAGS += $(X_CFLAGS)
-mandelbrot_mandelbrot_LDADD = $(X_PRE_LIBS) -lX11 $(X_LIBS) $(X_EXTRA_LIBS)
+mandelbrot_mandelbrot_LDADD = $(X_PRE_LIBS) $(X_LIBS) $(X_EXTRA_LIBS) -lX11
 endif
 
 ################