Fixes warning:
mv: `../../lib/libdricore.so' and `../../lib/libdricore.so' are the same file

Signed-off-by: Christopher James Halse Rogers 
<[email protected]>
---
 src/mesa/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/Makefile b/src/mesa/Makefile
index 3cfc285..f83ff15 100644
--- a/src/mesa/Makefile
+++ b/src/mesa/Makefile
@@ -112,7 +112,7 @@ libmesa.a: $(MESA_OBJECTS) $(GLSL_LIBS)
 
 # Shared dricore library for classic DRI drivers
 $(TOP)/$(LIB_DIR)/libdricore.so: $(DRICORE_OBJECTS) $(DRICORE_GLSL_LIBS)
-       @$(MKLIB) -o $@ -linker '$(CXX)' -ldflags '$(LDFLAGS)' \
+       @$(MKLIB) -o $(notdir $@) -linker '$(CXX)' -ldflags '$(LDFLAGS)' \
                -cplusplus -noprefix \
                -install $(TOP)/$(LIB_DIR) -id 
$(DRI_DRIVER_INSTALL_DIR)/[email protected] \
                -whole-archive $(DRICORE_GLSL_LIBS) -no-whole-archive \
-- 
1.7.5.4

_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to