Blame SOURCES/0001-rpath-hack.patch
|
|
a3e08e |
From e562763e58cd58b0a23e5d034aafedb608e3eda3 Mon Sep 17 00:00:00 2001
|
|
|
82b592 |
From: Adam Jackson <ajax@redhat.com>
|
|
|
82b592 |
Date: Thu, 12 Nov 2015 11:10:11 -0500
|
|
|
82b592 |
Subject: [PATCH] rpath hack
|
|
|
82b592 |
|
|
|
82b592 |
Normally, rpath is undesirable. But for the X server we _know_ we need
|
|
|
82b592 |
Mesa's libGL, which will always be in %{_libdir}, and not any third-party
|
|
|
82b592 |
libGL that may be configured using ld.so.conf.
|
|
|
82b592 |
---
|
|
|
a3e08e |
configure.ac | 2 +-
|
|
|
a3e08e |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
82b592 |
|
|
|
82b592 |
diff --git a/configure.ac b/configure.ac
|
|
|
a3e08e |
index 190d039..2ce40f4 100644
|
|
|
82b592 |
--- a/configure.ac
|
|
|
82b592 |
+++ b/configure.ac
|
|
|
a3e08e |
@@ -1352,7 +1352,7 @@ if test "x$GLX" = xyes; then
|
|
|
a3e08e |
AC_SUBST(XLIB_CFLAGS)
|
|
|
a3e08e |
AC_DEFINE(GLXEXT, 1, [Build GLX extension])
|
|
|
a3e08e |
GLX_LIBS='$(top_builddir)/glx/libglx.la'
|
|
|
a3e08e |
- GLX_SYS_LIBS="$GLX_SYS_LIBS $GL_LIBS"
|
|
|
a3e08e |
+ GLX_SYS_LIBS="$GLX_SYS_LIBS $GL_LIBS -Wl,-rpath=\$(libdir)"
|
|
|
a3e08e |
else
|
|
|
a3e08e |
GLX=no
|
|
|
82b592 |
fi
|
|
|
82b592 |
--
|
|
|
a3e08e |
2.9.3
|
|
|
82b592 |
|