egl: omit libmesa.a glapi.c from library
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 18 Jun 2008 15:21:09 +0000 (09:21 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 18 Jun 2008 15:22:01 +0000 (09:22 -0600)
src/gallium/winsys/egl_xlib/Makefile

index d5595b819a9f8cfacfee0c294052216eace3e506..76f1b56da42a1cecb98b7b98acbc58ab87b00d08 100644 (file)
@@ -28,9 +28,13 @@ WINSYS_OBJECTS = $(WINSYS_SOURCES:.c=.o)
 
 LIBS = \
        $(GALLIUM_DRIVERS) \
+       $(GALLIUM_AUXILIARIES)
+
+# XXX temporary (should create a separate lib with the GL API funcs and
+# mesa code, as done for ES 1.x, 2.x, OpenVG, etc)
+UNUSED_LIBS = \
        $(TOP)/src/mesa/libglapi.a \
        $(TOP)/src/mesa/libmesa.a \
-       $(GALLIUM_AUXILIARIES)
 
 
 LOCAL_CFLAGS = -D_EGL_PLATFORM_X=1
@@ -56,7 +60,7 @@ $(TOP)/$(LIB_DIR)/$(DRIVER_NAME): $(WINSYS_OBJECTS) $(LIBS)
                -noprefix \
                -install $(TOP)/$(LIB_DIR) \
                $(MKLIB_OPTIONS) $(WINSYS_OBJECTS) \
-               --start-group $(LIBS) --end-group
+               --whole-archive $(LIBS) --no-whole-archive
 
 
 depend: $(ALL_SOURCES)