summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-06-18 09:21:09 -0600
committerBrian Paul <[email protected]>2008-06-18 09:22:01 -0600
commit0cf79316d076d598f143b68f61308df9ddaf5e9a (patch)
tree81c1f49def56067c04b0f76d729d8a367e5b619b /src/gallium/winsys
parent51f24ef5bae3fa1f1ae6172fd5c5e6235f3f6857 (diff)
egl: omit libmesa.a glapi.c from library
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r--src/gallium/winsys/egl_xlib/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gallium/winsys/egl_xlib/Makefile b/src/gallium/winsys/egl_xlib/Makefile
index d5595b819a9..76f1b56da42 100644
--- a/src/gallium/winsys/egl_xlib/Makefile
+++ b/src/gallium/winsys/egl_xlib/Makefile
@@ -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)