mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-06 23:54:47 +00:00
xfree86: Work around issue where ar may be told to make an archive with no contents
Automake: "Be careful when selecting library components conditionally. Because building an empty library is not portable, you should ensure that any library always contains at least one object." Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
This commit is contained in:
@@ -12,7 +12,7 @@ PLATFORM_SOURCES = Sbus.c
|
||||
sdk_HEADERS += xf86Sbus.h
|
||||
endif
|
||||
|
||||
libbus_la_SOURCES = $(PCI_SOURCES) $(PLATFORM_SOURCES)
|
||||
libbus_la_SOURCES = $(PCI_SOURCES) $(PLATFORM_SOURCES) nobus.c
|
||||
|
||||
INCLUDES = $(XORG_INCS)
|
||||
|
||||
|
||||
1
hw/xfree86/os-support/bus/nobus.c
Normal file
1
hw/xfree86/os-support/bus/nobus.c
Normal file
@@ -0,0 +1 @@
|
||||
static void __noop_to_appease_ar__() { return; }
|
||||
Reference in New Issue
Block a user