[cogl/wip/cogl-1.7.0: 1/12] x11-foreign: explicitly pass -lX11 ldflag



commit fe1ded488ecc5443e6a655376d25412795759b2c
Author: Robert Bragg <robert linux intel com>
Date:   Wed Jun 8 11:52:15 2011 +0100

    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.

 examples/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/examples/Makefile.am b/examples/Makefile.am
index 29a762d..1084930 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]