From: Dave Airlie Date: Thu, 15 Apr 2004 01:35:25 +0000 (+0000) Subject: get the libraries the right way round.. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=85dc9fe5436e9eadb8cae09915e7ec9ba1fb7684;p=mesa.git get the libraries the right way round.. --- diff --git a/src/mesa/drivers/dri/radeon/Makefile b/src/mesa/drivers/dri/radeon/Makefile index d5717a63a10..2037d591010 100644 --- a/src/mesa/drivers/dri/radeon/Makefile +++ b/src/mesa/drivers/dri/radeon/Makefile @@ -105,7 +105,7 @@ INCLUDE_DIRS = \ MESA_MODULES = $(TOP)/src/mesa/mesa.a # Libraries that the driver shared lib depends on -LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread -lexpat -ldl -lc +LIB_DEPS = $(GL_LIB_DEPS) ifeq ($(WINDOW_SYSTEM),dri) @@ -138,7 +138,7 @@ default: depend $(LIB_DIR)/$(LIBNAME) $(LIB_DIR)/$(LIBNAME): $(OBJECTS) $(MESA_MODULES) $(WINOBJ) Makefile $(TOP)/bin/mklib -o $(LIBNAME) -noprefix -install $(LIB_DIR) \ - $(WINLIB) $(LIB_DEPS) $(WINOBJ) $(MESA_MODULES) $(OBJECTS) + $(WINLIB) $(LIB_DEPS) $(WINOBJ) $(OBJECTS) $(MESA_MODULES) depend: $(C_SOURCES) $(ASM_SOURCES)