summaryrefslogtreecommitdiff
path: root/src/gallium
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2010-05-12 16:03:04 +0800
committerChia-I Wu <olv@lunarg.com>2010-05-19 13:38:57 -0600
commitbc73a6289f5e28636d579e17e8a8d70a2d8d7500 (patch)
tree94e8954e2337c9f0ad75cfcc32268357c9fdbd50 /src/gallium
parent7f19b65b1ae4b68129b476b3089264ea9b25e6e6 (diff)
egl: Link drivers back to libEGL.
Drivers need symbols from libEGL. Without back-linking, the build fails on Cygwin.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/targets/Makefile.egl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/targets/Makefile.egl b/src/gallium/targets/Makefile.egl
index f26ffb8ad4..4f8641e056 100644
--- a/src/gallium/targets/Makefile.egl
+++ b/src/gallium/targets/Makefile.egl
@@ -56,7 +56,7 @@ $(MKLIB) -o $@ -noprefix -linker '$(CC)' -ldflags '$(LDFLAGS)' \
$(MKLIB_OPTIONS) $(EGL_DRIVER_OBJECTS) \
-Wl,--start-group $($(1)_ST) $(EGL_DRIVER_PIPES) \
$(GALLIUM_AUXILIARIES) -Wl,--end-group \
- $($(1)_LIBS) $(EGL_DRIVER_LIBS)
+ $($(1)_LIBS) $(EGL_DRIVER_LIBS) -L$(TOP)/$(LIB_DIR) -l$(EGL_LIB)
endef
egl_x11_$(EGL_DRIVER_NAME).so: $(EGL_DRIVER_OBJECTS) $(x11_ST) $(EGL_DRIVER_PIPES) $(GALLIUM_AUXILIARIES) Makefile