LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File mesa-fix-osmesa.patch of Package mesa (Project home:crt0solutions:futures)

diff -up mesa-20120924/src/mesa/drivers/osmesa/Makefile.am.osmesa-fix mesa-20120924/src/mesa/drivers/osmesa/Makefile.am
--- mesa-20120924/src/mesa/drivers/osmesa/Makefile.am.osmesa-fix	2012-09-22 22:22:15.000000000 +1000
+++ mesa-20120924/src/mesa/drivers/osmesa/Makefile.am	2012-09-24 11:10:32.215400723 +1000
@@ -45,8 +45,7 @@ if BUILD_SHARED
 # a while by putting a link to the driver into /lib of the build tree.
 all-local: lib@OSMESA_LIB@.la
 	$(MKDIR_P) $(top_builddir)/$(LIB_DIR);
-	ln -f .libs/lib@OSMESA_LIB@.so $(top_builddir)/$(LIB_DIR)/lib@OSMESA_LIB@.so;
-	ln -f .libs/lib@OSMESA_LIB@.so.@OSMESA_VERSION@ $(top_builddir)/$(LIB_DIR)/lib@OSMESA_LIB@.so.@OSMESA_VERSION@;
+	cp -df .libs/lib@OSMESA_LIB@.so* $(top_builddir)/$(LIB_DIR)
 endif
 
 pkgconfigdir = $(libdir)/pkgconfig