From 9a939adf7d25f273048d5f92cf9d96d10e664c23 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Thu, 18 Feb 2010 12:38:47 +0800 Subject: 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. --- src/gallium/winsys/drm/vmware/egl/dummy.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/gallium/winsys/drm/vmware') diff --git a/src/gallium/winsys/drm/vmware/egl/dummy.c b/src/gallium/winsys/drm/vmware/egl/dummy.c index 4a1bc28b0b6..3181d0ba7e8 100644 --- a/src/gallium/winsys/drm/vmware/egl/dummy.c +++ b/src/gallium/winsys/drm/vmware/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; -- cgit v1.2.3