ソースを参照

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

Ludovic Courtès 13 年 前
コミット
d207eb971e
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  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
 
 ################