libraries.patch revision 1299
1299N/AFrom c8fefc5e66d6eb6219c92a95a5a51120ae315fdd Mon Sep 17 00:00:00 2001
1299N/AFrom: Alan Coopersmith <alan.coopersmith@oracle.com>
1299N/ADate: Wed, 23 May 2012 23:10:26 -0700
1299N/ASubject: [RFC PATCH:xf86-video-mga 13/15] Link with modules needed to build with
1299N/A no-undefined linking
1299N/A
1299N/ASigned-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1299N/A---
1299N/A src/Makefile.am | 7 ++++++-
1299N/A 1 file changed, 6 insertions(+), 1 deletion(-)
1299N/A
1299N/Adiff --git a/src/Makefile.am b/src/Makefile.am
1299N/Aindex 44417de..5f5e2ad 100644
1299N/A--- a/src/Makefile.am
1299N/A+++ b/src/Makefile.am
1299N/A@@ -27,7 +27,9 @@ AM_CFLAGS = @XORG_CFLAGS@ @DRI_CFLAGS@
1299N/A mga_drv_la_LTLIBRARIES = mga_drv.la
1299N/A mga_drv_la_LDFLAGS = -module -avoid-version
1299N/A mga_drv_ladir = @moduledir@/drivers
1299N/A-mga_drv_la_LIBADD = $(noinst_LTLIBRARIES)
1299N/A+mga_drv_la_LIBADD = $(noinst_LTLIBRARIES) $(XORG_LIBS) $(PCIACCESS_LIBS)
1299N/A+mga_drv_la_LIBADD += -L$(moduledir) -lfb -lpixman-1 -lshadowfb -lfbdevhw
1299N/A+mga_drv_la_LIBADD += -lvgahw -lvbe -lint10
1299N/A
1299N/A mga_drv_la_SOURCES = \
1299N/A binding.h \
1299N/A@@ -62,14 +64,17 @@ mga_drv_la_SOURCES += \
1299N/A mga_dri.c \
1299N/A mga_dri.h \
1299N/A mga_dripriv.h
1299N/A+mga_drv_la_LIBADD += -L$(moduledir)/extensions -ldrm -ldri -lglx
1299N/A endif
1299N/A
1299N/A if USE_EXA
1299N/A mga_drv_la_SOURCES += \
1299N/A mga_exa.c
1299N/A+mga_drv_la_LIBADD += -lexa
1299N/A endif
1299N/A
1299N/A if USE_XAA
1299N/A mga_drv_la_SOURCES += \
1299N/A mga_storm.c
1299N/A+mga_drv_la_LIBADD += -lxaa
1299N/A endif
1299N/A--
1299N/A1.7.9.2
1299N/A