From 7210d0096a39eeca7173914fcb531900b78446e9 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Fri, 10 Nov 2017 09:48:47 -0800 Subject: [PATCH] gallium/xlib: remove GL_{MAJOR,MINOR,TINY} These variables were removed from autotools in 2008 (sha: 80f68e1b6a0e5bd2da799c), but they have lived on here. The Scons build meanwhile doesn't set a patch/tiny version at all, just major and minor. This patch removes the unused variables and simply sets the version, leaving patch/tiny as 0 since that's what the autotools build as been doing forever. This shouldn't change any behavior. Signed-off-by: Dylan Baker Reviewed-by: Emil Velikov Reviewed-by: Brian Paul --- src/gallium/targets/libgl-xlib/Makefile.am | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/gallium/targets/libgl-xlib/Makefile.am b/src/gallium/targets/libgl-xlib/Makefile.am index a29199fe784..263b0846a42 100644 --- a/src/gallium/targets/libgl-xlib/Makefile.am +++ b/src/gallium/targets/libgl-xlib/Makefile.am @@ -20,10 +20,6 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER # DEALINGS IN THE SOFTWARE. -GL_MAJOR = 1 -GL_MINOR = 5 -GL_TINY = $(MESA_MAJOR)$(MESA_MINOR)0$(MESA_TINY) - if HAVE_SHARED_GLAPI SHARED_GLAPI_LIB = $(top_builddir)/src/mapi/shared-glapi/libglapi.la endif @@ -51,7 +47,7 @@ nodist_EXTRA_lib@GL_LIB@_la_SOURCES = dummy.cpp lib@GL_LIB@_la_SOURCES = xlib.c lib@GL_LIB@_la_LDFLAGS = \ -no-undefined \ - -version-number $(GL_MAJOR):$(GL_MINOR):$(GL_TINY) \ + -version-number 1:5:0 \ $(BSYMBOLIC) \ $(GC_SECTIONS) \ $(LD_NO_UNDEFINED) -- 2.30.2