summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/drm/radeon
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-02-18 12:38:47 +0800
committerChia-I Wu <[email protected]>2010-02-18 13:07:01 +0800
commit9a939adf7d25f273048d5f92cf9d96d10e664c23 (patch)
treece77df33a6c0815bebc5e79ed9888814453307ea /src/gallium/winsys/drm/radeon
parentd449627829e1a4a3250a1a723af2f4e3cd5fd194 (diff)
winsys/drm: Do not use --whole-archive in Makefile.egl.
--whole-archive is not portable. Have the drivers reference _eglMain as a poor man's --whole-archive.
Diffstat (limited to 'src/gallium/winsys/drm/radeon')
-rw-r--r--src/gallium/winsys/drm/radeon/egl/dummy.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/winsys/drm/radeon/egl/dummy.c b/src/gallium/winsys/drm/radeon/egl/dummy.c
index 4a1bc28b0b6..3181d0ba7e8 100644
--- a/src/gallium/winsys/drm/radeon/egl/dummy.c
+++ b/src/gallium/winsys/drm/radeon/egl/dummy.c
@@ -1 +1,3 @@
-/* mklib expects at least one object file */
+/* A poor man's --whole-archive for EGL drivers */
+void *_eglMain(void *);
+void *_eglWholeArchive = (void *) _eglMain;