summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/drm/nouveau/xorg/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/winsys/drm/nouveau/xorg/Makefile')
-rw-r--r--src/gallium/winsys/drm/nouveau/xorg/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/winsys/drm/nouveau/xorg/Makefile b/src/gallium/winsys/drm/nouveau/xorg/Makefile
index 179b50230b..0607d82a6e 100644
--- a/src/gallium/winsys/drm/nouveau/xorg/Makefile
+++ b/src/gallium/winsys/drm/nouveau/xorg/Makefile
@@ -15,11 +15,18 @@ INCLUDES = \
-I$(TOP)/include \
-I$(TOP)/src/egl/main
+# hideous hack
+-Wl,--start-group:
+-Wl,--end-group:
+
LIBS = \
$(TOP)/src/gallium/state_trackers/xorg/libxorgtracker.a \
$(TOP)/src/gallium/winsys/drm/nouveau/drm/libnouveaudrm.a \
+ --Wl,--start-group \
$(TOP)/src/gallium/drivers/nv30/libnv30.a \
$(TOP)/src/gallium/drivers/nv40/libnv40.a \
+ $(TOP)/src/gallium/drivers/nv40/libnvfx.a \
+ --Wl,--end-group \
$(TOP)/src/gallium/drivers/nv50/libnv50.a \
$(TOP)/src/gallium/drivers/nouveau/libnouveau.a \
$(GALLIUM_AUXILIARIES)