Blame SOURCES/0001-rpath-hack.patch

2bf600
From 2489f2f38eb32d9dd03718a36cbdbdf13d2f8b9b Mon Sep 17 00:00:00 2001
2bf600
From: Adam Jackson <ajax@redhat.com>
2bf600
Date: Thu, 12 Nov 2015 11:10:11 -0500
2bf600
Subject: [PATCH] rpath hack
2bf600
2bf600
Normally, rpath is undesirable.  But for the X server we _know_ we need
2bf600
Mesa's libGL, which will always be in %{_libdir}, and not any third-party
2bf600
libGL that may be configured using ld.so.conf.
2bf600
2bf600
---
2bf600
 configure.ac       | 1 +
2bf600
 1 files changed, 1 insertions(+), 0 deletion(-)
2bf600
2bf600
diff --git a/configure.ac b/configure.ac
2bf600
index fa15a2d..a5af1e0 100644
2bf600
--- a/configure.ac
2bf600
+++ b/configure.ac
418d68
@@ -1357,6 +1357,7 @@ else
2bf600
 fi
418d68
 AM_CONDITIONAL(GLX, test "x$GLX" = xyes)
418d68
2bf600
+GLX_SYS_LIBS="$GLX_SYS_LIBS -Wl,-rpath=\$(libdir)"
2bf600
 AC_SUBST([GLX_DEFINES])
2bf600
 AC_SUBST([GLX_SYS_LIBS])
418d68
418d68
--
2bf600
2.5.0
2bf600