diff options
author | Robert Bragg <robert@linux.intel.com> | 2011-06-08 11:52:15 +0100 |
---|---|---|
committer | Robert Bragg <robert@linux.intel.com> | 2011-06-14 17:08:33 +0100 |
commit | a9643f38e6b874348155867b412fe3a75e794360 (patch) | |
tree | b5f7a1366f6ebe9ed4f45aeb1c2de8227551e6f1 | |
parent | e86543cd7d1db7fe1d88b6875a8662e377c9e9df (diff) | |
download | cogl-a9643f38e6b874348155867b412fe3a75e794360.tar.gz |
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.
-rw-r--r-- | examples/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/Makefile.am b/examples/Makefile.am index 29a762d0..1084930f 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -26,7 +26,7 @@ hello_LDADD = $(common_ldadd) if X11_TESTS noinst_PROGRAMS += x11-foreign x11_foreign_SOURCES = x11-foreign.c -x11_foreign_LDADD = $(common_ldadd) +x11_foreign_LDADD = $(common_ldadd) -lX11 endif if SUPPORT_WAYLAND_EGL_SERVER |