mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-07 23:02:23 +00:00
xfree86: Link modules with -module
This makes a difference on darwin (and apparently nowhere else) https://www.gnu.org/s/libtool/manual/libtool.html#Modules-for-libltdl Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> Reviewed-by: Jamey Sharp <jamey@minilop.net> Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
This commit is contained in:
parent
f7edc00a2a
commit
43d730c0e4
7 changed files with 12 additions and 12 deletions
|
|
@ -30,21 +30,21 @@ INCLUDES = @XORG_INCS@ \
|
|||
-I$(top_srcdir)/miext/shadow \
|
||||
-I$(top_srcdir)/glx
|
||||
|
||||
libdbe_la_LDFLAGS = -avoid-version
|
||||
libdbe_la_LDFLAGS = -module -avoid-version
|
||||
libdbe_la_LIBADD = $(top_builddir)/dbe/libdbe.la
|
||||
libdbe_la_SOURCES = dbemodule.c
|
||||
|
||||
libfb_la_LDFLAGS = -avoid-version
|
||||
libfb_la_LDFLAGS = -module -avoid-version
|
||||
libfb_la_LIBADD = $(top_builddir)/fb/libfb.la
|
||||
libfb_la_SOURCES = $(top_builddir)/fb/fbcmap_mi.c fbmodule.c
|
||||
libfb_la_CFLAGS = $(AM_CFLAGS)
|
||||
|
||||
libwfb_la_LDFLAGS = -avoid-version
|
||||
libwfb_la_LDFLAGS = -module -avoid-version
|
||||
libwfb_la_LIBADD = $(top_builddir)/fb/libwfb.la
|
||||
libwfb_la_SOURCES = $(top_builddir)/fb/fbcmap_mi.c fbmodule.c
|
||||
libwfb_la_CFLAGS = $(AM_CFLAGS) -DFB_ACCESS_WRAPPER
|
||||
|
||||
libglx_la_LDFLAGS = -avoid-version
|
||||
libglx_la_LDFLAGS = -module -avoid-version
|
||||
if AIGLX_DRI_LOADER
|
||||
GLXDRI_LIBRARY = $(top_builddir)/glx/libglxdri.la
|
||||
endif
|
||||
|
|
@ -53,11 +53,11 @@ libglx_la_LIBADD = \
|
|||
$(GLXDRI_LIBRARY)
|
||||
libglx_la_SOURCES = glxmodule.c
|
||||
|
||||
librecord_la_LDFLAGS = -avoid-version
|
||||
librecord_la_LDFLAGS = -module -avoid-version
|
||||
librecord_la_LIBADD = $(top_builddir)/record/librecord.la
|
||||
librecord_la_SOURCES = recordmod.c
|
||||
|
||||
libshadow_la_LDFLAGS = -avoid-version
|
||||
libshadow_la_LDFLAGS = -module -avoid-version
|
||||
libshadow_la_LIBADD = $(top_builddir)/miext/shadow/libshadow.la
|
||||
libshadow_la_SOURCES = shmodule.c
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ INCLUDES = @XORG_INCS@ \
|
|||
-I$(top_srcdir)/hw/xfree86/loader \
|
||||
-I$(top_srcdir)/miext/shadow
|
||||
|
||||
libextmod_la_LDFLAGS = -avoid-version
|
||||
libextmod_la_LDFLAGS = -module -avoid-version
|
||||
libextmod_la_SOURCES = modinit.c \
|
||||
modinit.h \
|
||||
$(DGA_SRCS) \
|
||||
|
|
|
|||
Loading…
Reference in a new issue