xquartz: Don't include strndup.c any more since we no longer support 10.8 and older

Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
This commit is contained in:
Jeremy Huddleston Sequoia 2021-02-21 21:49:14 -08:00
parent 677eb6827b
commit 839b49ac05
2 changed files with 0 additions and 11 deletions

View File

@ -15,13 +15,6 @@ dist_X11_bin_SOURCES = \
dist_X11_SOURCES = \
bundle_trampoline.c
# strndup(3) was added in Mac OS X 10.7, but we do this unconditionally to deal
# with the case where we build on Lion but target Snow Leopard as the minimum
# OS version.
#if NEED_STRNDUP
dist_X11_bin_SOURCES += $(top_srcdir)/os/strndup.c
#endif
nodist_X11_bin_SOURCES = \
mach_startupServer.c \
mach_startupUser.c

View File

@ -58,10 +58,6 @@ endif
x11_bin = executable('X11.bin',
[
'bundle-main.c',
# strndup(3) was added in Mac OS X 10.7 (Lion), but we do this
# unconditionally to deal with the case where we build on 10.7 or later,
# but target 10.6 (Snow Leopard) or earlier as the minimum OS version.
'../../../os/strndup.c',
mach_startup[1], # mach_startupServer.c
mach_startup[3], # mach_startupUser.c
],