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