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