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

Eric Anholt eric at anholt.net
Wed Feb 29 13:46:46 PST 2012

This fixes the egl_gallium.so driver build when no system libEGL.so is
present, since it's relying on the lib/ to build against until it gets
converted to automake.

Tested with EGL_DRIVER=egl_gallium EGL_LOG_LEVEL=debug ./es2gears
 src/egl/main/Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/egl/main/Makefile.am b/src/egl/main/Makefile.am
index 999f8ee..ad1bbdb 100644
--- a/src/egl/main/Makefile.am
+++ b/src/egl/main/Makefile.am
@@ -122,6 +122,7 @@ endif
 all-local: libEGL.la
 	$(MKDIR_P) $(top_builddir)/$(LIB_DIR);
 	ln -f .libs/libEGL.so.1.0.0 $(top_builddir)/$(LIB_DIR)/libEGL.so.1
+	ln -sf libEGL.so.1 $(top_builddir)/$(LIB_DIR)/libEGL.so
 pkgconfigdir = $(libdir)/pkgconfig

More information about the mesa-dev mailing list