dixmods-deps.patch revision 1196
index 60697e7..fa9048d 100644
@@ -35,7 +35,9 @@ libdbe_la_LIBADD = $(top_builddir)/dbe/libdbe.la
libdbe_la_SOURCES = dbemodule.c
libfb_la_LDFLAGS = -avoid-version
+libfb_la_LDFLAGS += $(XORG_EXTERNS_FLAG)
libfb_la_LIBADD = $(top_builddir)/fb/libfb.la
+libfb_la_LIBADD += -lpixman-1
libfb_la_SOURCES = $(top_builddir)/fb/fbcmap_mi.c fbmodule.c
libfb_la_CFLAGS = $(AM_CFLAGS)
@@ -45,8 +47,10 @@ libwfb_la_SOURCES = $(top_builddir)/fb/fbcmap_mi.c fbmodule.c
libwfb_la_CFLAGS = $(AM_CFLAGS) -DFB_ACCESS_WRAPPER
libglx_la_LDFLAGS = -avoid-version -mimpure-text
+libglx_la_LDFLAGS += $(XORG_EXTERNS_FLAG)
if AIGLX
GLXDRI_LIBRARY = $(top_builddir)/glx/libglxdri.la
+libglx_la_LDFLAGS += -R$(extsmoduledir) -Wl,-N,libdri.so -Wl,-N,libdri2.so
endif
libglx_la_LIBADD = \
$(top_builddir)/glx/libglx.la \
@@ -59,6 +64,8 @@ librecord_la_SOURCES = recordmod.c
libshadow_la_LDFLAGS = -avoid-version
libshadow_la_LIBADD = $(top_builddir)/miext/shadow/libshadow.la
+libshadow_la_LIBADD += libfb.la
+libshadow_la_LDFLAGS += $(XORG_EXTERNS_FLAG)
libshadow_la_SOURCES = shmodule.c
libdixmods_la_SOURCES = $(top_srcdir)/mi/miinitext.c
index cce19f7..617a663 100644
@@ -28,3 +28,5 @@ libextmod_la_SOURCES = modinit.c \
$(XF86VMODE_SRCS) \
$(XV_SRCS)
libextmod_la_LIBADD = $(top_builddir)/Xext/libXextmodule.la
+
+libextmod_la_LDFLAGS += $(XORG_EXTERNS_FLAG)
index 0b80cc8..f67cd7b 100644
@@ -22,22 +22,30 @@ sdk_HEADERS = xf86i2c.h bt829.h fi1236.h msp3430.h tda8425.h tda9850.h tda9885.h
# i2c drivers
#
bt829_drv_la_LDFLAGS = -module -avoid-version
+bt829_drv_la_LDFLAGS += $(XORG_EXTERNS_FLAG)
fi1236_drv_la_LDFLAGS = -module -avoid-version
+fi1236_drv_la_LDFLAGS += $(XORG_EXTERNS_FLAG)
+fi1236_drv_la_LDFLAGS += -Wl,-R,$(multimediadir) -Wl,-N,tda9885_drv.so
msp3430_drv_la_LDFLAGS = -module -avoid-version
+msp3430_drv_la_LDFLAGS += $(XORG_EXTERNS_FLAG)
tda8425_drv_la_LDFLAGS = -module -avoid-version
+tda8425_drv_la_LDFLAGS += $(XORG_EXTERNS_FLAG)
tda9850_drv_la_LDFLAGS = -module -avoid-version
+tda9850_drv_la_LDFLAGS += $(XORG_EXTERNS_FLAG)
tda9885_drv_la_LDFLAGS = -module -avoid-version
+tda9885_drv_la_LDFLAGS += $(XORG_EXTERNS_FLAG)
uda1380_drv_la_LDFLAGS = -module -avoid-version
+uda1380_drv_la_LDFLAGS += $(XORG_EXTERNS_FLAG)
index 02d2dd4..0af8e05 100644
@@ -7,3 +7,6 @@ sdk_HEADERS = shadowfb.h
INCLUDES = $(XORG_INCS)
AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS)
+
+libshadowfb_la_LDFLAGS += -z ignore $(XORG_EXTERNS_FLAG)
+libshadowfb_la_LIBADD = $(XSERVER_SYS_LIBS) -lXfont
index 85c6fd8..101e954 100644
@@ -8,3 +8,6 @@ AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS)
INCLUDES = $(XORG_INCS) -I$(srcdir)/../ddc -I$(srcdir)/../i2c \
-I$(srcdir)/../int10
+
+libvbe_la_LDFLAGS += $(XORG_EXTERNS_FLAG)
+libvbe_la_LIBADD = ../int10/libint10.la