[Mesa-dev] [PATCH] glx: Also put a symlink from libGL.so in lib/ for now.

Johannes Obermayr johannesobermayr at gmx.de
Sat Mar 3 09:11:22 PST 2012


 This fixes the libGLU.so.* build when a system libGL.so is not present since it is relying on the lib/ to build against until it gets converted to automake.

---
 src/glx/Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/glx/Makefile.am b/src/glx/Makefile.am
index b5bbebd..79dc405 100644
--- a/src/glx/Makefile.am
+++ b/src/glx/Makefile.am
@@ -116,6 +116,7 @@ if !HAVE_MANGLED_GL
 all-local: $(NORMAL_GL_LIB) $(MANGLED_GL_LIB)
 	$(MKDIR_P) $(top_builddir)/$(LIB_DIR);
 	ln -f .libs/libGL.so.1.2.0 $(top_builddir)/$(LIB_DIR)/libGL.so.1
+	ln -sf libGL.so.1 $(top_builddir)/$(LIB_DIR)/libGL.so
 endif
 
 $(GLAPI_LIB):
-- 
1.7.7



More information about the mesa-dev mailing list