add glibc_workaround.cpp if option is chosen

This reverts commit 751d9bff1672f6b8cbd2b5ebe2eb460223746806.
This commit is contained in:
Dane Springmeyer 2017-11-15 09:53:56 -08:00
parent 3cb74f0871
commit f32f3b34ae

View file

@ -313,6 +313,13 @@ cairo/process_markers_symbolizer.cpp
cairo/process_group_symbolizer.cpp
""")
if env['ENABLE_GLIBC_WORKAROUND']:
source += Split(
"""
glibc_workaround.cpp
"""
)
if env['HAS_CAIRO']:
lib_env.AppendUnique(LIBPATH=env['CAIRO_LIBPATHS'])
lib_env.Append(CPPDEFINES = '-DHAVE_CAIRO')