summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorMichel Dänzer <daenzer@vmware.com>2009-08-13 18:46:53 +0200
committerMichel Dänzer <daenzer@vmware.com>2009-08-13 18:46:53 +0200
commit7c08614b325a409890b44c9b6375cda26d09867d (patch)
treeb19854abcee2265fdb77e73185ef998f6bba3096 /src/gallium
parent7ef8c79a8c69d62eecbd4301b0e15d44d0797072 (diff)
downloadexternal_mesa3d-7c08614b325a409890b44c9b6375cda26d09867d.zip
external_mesa3d-7c08614b325a409890b44c9b6375cda26d09867d.tar.gz
external_mesa3d-7c08614b325a409890b44c9b6375cda26d09867d.tar.bz2
gallium/drm: Handle circular dependencies in the auxiliary libraries with make.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/winsys/drm/Makefile.template4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/winsys/drm/Makefile.template b/src/gallium/winsys/drm/Makefile.template
index 985e5a8..9635c3c 100644
--- a/src/gallium/winsys/drm/Makefile.template
+++ b/src/gallium/winsys/drm/Makefile.template
@@ -83,7 +83,9 @@ default: depend symlinks $(TOP)/$(LIB_DIR)/gallium/$(LIBNAME)
$(LIBNAME): $(OBJECTS) $(MESA_MODULES) $(PIPE_DRIVERS) $(WINOBJ) Makefile $(TOP)/src/mesa/drivers/dri/Makefile.template
$(MKLIB) -noprefix -o $@ \
- $(OBJECTS) $(PIPE_DRIVERS) $(MESA_MODULES) $(WINOBJ) $(DRI_LIB_DEPS) $(DRIVER_EXTRAS)
+ $(OBJECTS) $(PIPE_DRIVERS) \
+ -Wl,--start-group $(MESA_MODULES) -Wl,--end-group \
+ $(WINOBJ) $(DRI_LIB_DEPS) $(DRIVER_EXTRAS)
$(LIBNAME_EGL): $(WINSYS_OBJECTS) $(LIBS)
$(MKLIB) -o $(LIBNAME_EGL) \