mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-04 00:30:14 +01: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:
parent
e8bafb9d8c
commit
b3ca84430d
2 changed files with 2 additions and 1 deletions
|
|
@ -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; }
|
||||
Loading…
Add table
Reference in a new issue