glx: Also put a symlink from libGL.so in lib/ for now.

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.

Tested-by: Stéphane Marchesin <marcheu@chromium.org>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
This commit is contained in:
Johannes Obermayr 2012-03-03 18:11:22 +01:00 committed by Eric Anholt
parent ab6e081914
commit d249bd9cbd

View file

@ -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):