glx: Also put a symlink from libGL.so in lib/ for now.
authorJohannes Obermayr <johannesobermayr@gmx.de>
Sat, 3 Mar 2012 17:11:22 +0000 (18:11 +0100)
committerEric Anholt <eric@anholt.net>
Wed, 7 Mar 2012 17:37:46 +0000 (09:37 -0800)
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>
src/glx/Makefile.am

index b5bbebd9a572257ba531049b946c865d4a73e06e..79dc405372ec09790a602b67016855ad1ae251bf 100644 (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):