[Mesa-dev] [PATCH 4/4] build: Fix harmless warning when building libdricore.so

Christopher James Halse Rogers christopher.halse.rogers at canonical.com
Fri Aug 26 01:03:23 PDT 2011


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

Signed-off-by: Christopher James Halse Rogers <christopher.halse.rogers at canonical.com>
---
 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)/$@.dylib \
 		-whole-archive $(DRICORE_GLSL_LIBS) -no-whole-archive \
-- 
1.7.5.4



More information about the mesa-dev mailing list