--- nxcompshad/Makefile.in.orig	2008-12-05 13:57:18 +0300
+++ nxcompshad/Makefile.in	2008-12-05 13:57:05 +0300
@@ -48,7 +48,7 @@ CCINCLUDES  =
 CCDEFINES   =
 
 LDFLAGS     = @LDFLAGS@
-LIBS        = @LIBS@ -L/usr/X11R6/lib -lX11
+LIBS        = @LIBS@ -L/usr/X11R6/lib -lX11 -lXext
 
 #
 # Only if THREADS is defined.