diff options
author | Dan Nicholson <dbn.lists@gmail.com> | 2007-10-29 11:17:04 -0700 |
---|---|---|
committer | Dan Nicholson <dbn.lists@gmail.com> | 2007-10-29 11:44:30 -0700 |
commit | cdb02d43fe4f7eb0a4446ac4ecf4a9ee61aa1a67 (patch) | |
tree | ab8ba313f252e61f39cb5a59a1e94e770246b4bd | |
parent | 50cecddc4acc8faa5f803625472beb92fa7d227b (diff) |
linux-dri-xcb: Fix undefined refs when linking with libGL
GL_LIB_DEPS was missing -lXdamage and -lXfixes, which was causing
linker errors when trying to build the programs.
(cherry picked from commit 3b9e28d507f77e3c32a29de2d2d4d857d5e5309f)
-rw-r--r-- | configs/linux-dri-xcb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/configs/linux-dri-xcb b/configs/linux-dri-xcb index 5620fe58e70..3db5293ea49 100644 --- a/configs/linux-dri-xcb +++ b/configs/linux-dri-xcb @@ -41,8 +41,9 @@ EXTRA_LIB_PATH=`pkg-config --libs-only-L x11` LIBDRM_CFLAGS = `pkg-config --cflags libdrm` LIBDRM_LIB = `pkg-config --libs libdrm` DRI_LIB_DEPS = $(EXTRA_LIB_PATH) -lm -lpthread -lexpat -ldl $(LIBDRM_LIB) -GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXxf86vm -lm -lpthread -ldl \ - $(LIBDRM_LIB) `pkg-config --libs xcb` `pkg-config --libs x11-xcb` `pkg-config --libs xcb-glx` +GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXxf86vm -lXdamage -lXfixes \ + -lm -lpthread -ldl $(LIBDRM_LIB) `pkg-config --libs xcb` \ + `pkg-config --libs x11-xcb` `pkg-config --libs xcb-glx` # This is now 0 by default since it seems to confuse the hell out of people |