x11-foreign: explicitly pass -lX11 ldflag

The x11-foreign example directly uses the X11 API at it seems that more
recent versions of binutils complain if we don't directly link the test
with libX11 as opposed to relying on indirect linkage via cogl.
This commit is contained in:
Robert Bragg 2011-06-08 11:52:15 +01:00
parent e86543cd7d
commit a9643f38e6

View File

@ -26,7 +26,7 @@ hello_LDADD = $(common_ldadd)
if X11_TESTS if X11_TESTS
noinst_PROGRAMS += x11-foreign noinst_PROGRAMS += x11-foreign
x11_foreign_SOURCES = x11-foreign.c x11_foreign_SOURCES = x11-foreign.c
x11_foreign_LDADD = $(common_ldadd) x11_foreign_LDADD = $(common_ldadd) -lX11
endif endif
if SUPPORT_WAYLAND_EGL_SERVER if SUPPORT_WAYLAND_EGL_SERVER