--- a/src/Makefile.am Thu Sep 20 10:57:45 2012 +++ b/src/Makefile.am Thu Sep 20 10:58:04 2012 @@ -27,7 +27,9 @@ mga_drv_la_LTLIBRARIES = mga_drv.la mga_drv_la_LDFLAGS = -module -avoid-version mga_drv_ladir = @moduledir@/drivers -mga_drv_la_LIBADD = $(noinst_LTLIBRARIES) +mga_drv_la_LIBADD = $(noinst_LTLIBRARIES) $(XORG_LIBS) $(PCIACCESS_LIBS) +mga_drv_la_LIBADD += -L$(moduledir) -lfb -lpixman-1 -lshadowfb -lfbdevhw -lexa +mga_drv_la_LIBADD += -lvgahw -lvbe -lint10 mga_drv_la_SOURCES = \ binding.h \