Link with X11 and Xext when building against Xorg
authorToni Spets <toni.spets@iki.fi>
Mon, 28 Feb 2011 19:01:47 +0000 (21:01 +0200)
committerToni Spets <toni.spets@iki.fi>
Mon, 28 Feb 2011 19:01:47 +0000 (21:01 +0200)
src/Makefile.am

index a8091a0..4b86c4b 100755 (executable)
@@ -224,7 +224,7 @@ if HAVE_X11
 InputHandler += arch/InputHandler/InputHandler_X11.cpp arch/InputHandler/InputHandler_X11.h
 LowLevelWindow += arch/LowLevelWindow/LowLevelWindow_X11.cpp arch/LowLevelWindow/LowLevelWindow_X11.h
 LowLevelWindow += archutils/Unix/X11Helper.cpp archutils/Unix/X11Helper.h
-LIBS += -lXrandr
+LIBS += -lX11 -lXext -lXrandr
 endif
 
 # Platform-specific drivers: