Commit b13bf675 authored by Mihai Moldovan's avatar Mihai Moldovan

nxcompshad/src/Makefile.am: implement libX11 RPATH/RUNPATH override.

Same method as used in the previous commit, but easier done thanks to autotools and libtool. Fixes: ArcticaProject/nx-libs#610
parent 26ab7b8a
......@@ -13,6 +13,7 @@ libXcompshad_la_SOURCES = \
$(NULL)
libXcompshad_la_LIBADD = \
-lX11 \
@Xext_LIBS@ \
@Xdamage_LIBS@ \
@Xrandr_LIBS@ \
......@@ -36,7 +37,10 @@ AM_CPPFLAGS = \
-I$(top_srcdir)/../nx-X11/exports/include \
$(NULL)
libXcompshad_la_LDFLAGS = -version-number @LT_COMPSHAD_VERSION@ -no-undefined
libXcompshad_la_LDFLAGS = \
-version-number @LT_COMPSHAD_VERSION@ -no-undefined \
-R '$(libdir)/nx/X11' \
$(NULL)
libXcompshadincludedir = $(includedir)/nx
libXcompshadinclude_HEADERS = \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment