[Glamor] [PATCH] Autotools fixes
Michel Dänzer
michel at daenzer.net
Wed Mar 13 09:25:11 PDT 2013
On Mit, 2013-03-13 at 16:44 +0100, Armin K. wrote:
> On 03/13/2013 09:25 AM, Michel Dänzer wrote:
> > On Die, 2013-03-12 at 21:00 +0100, Armin K wrote:
> >
> >> @@ -64,7 +65,7 @@ if EGL
> >> LIBGLAMOREGL = libglamoregl.la
> >> module_LTLIBRARIES = $(LIBGLAMOREGL)
> >> libglamoregl_la_DEPENDENCIES = libglamor.la
> >> -libglamoregl_la_LDFLAGS = -avoid-version -module $(EGL_LIBS) -lglamor $(GLX_SYS_LIBS)
> >> +libglamoregl_la_LDFLAGS = -avoid-version -module $(EGL_LIBS) -lglamor $(GLX_SYS_LIBS) -Wl,-rpath -Wl,$(moduledir)
> >> libglamoregl_la_SOURCES = glamor_eglmodule.c $(top_srcdir)/src/glamor_egl.c
> >> libglamoregl_la_CFLAGS = $(AM_CFLAGS) $(GLX_DEFINES) -I$(top_srcdir)/src $(LIBDRM_CFLAGS) $(EGL_CFLAGS)
> >> endif
> >
> > It would be better to just install libglamor to the standard lib
> > directory instead of using rpath.
>
> I was thinking of that, but I wasn't sure if libglamor.so is actualy a
> Xorg module or just a library. Which one is true?
If it was a module, you could see it being loaded in Xorg.0.log, and
rpath would be irrelevant.
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Debian, X and DRI developer
More information about the Glamor
mailing list