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