Fix scons build

This commit is contained in:
Artem Pavlenko 2022-02-15 15:40:16 +00:00
parent 45568e8895
commit 2d03db8ef1
2 changed files with 3 additions and 0 deletions

View file

@ -1879,6 +1879,7 @@ if not preconfigured:
env.Prepend(CPPPATH = '#deps/mapbox/geometry/include') env.Prepend(CPPPATH = '#deps/mapbox/geometry/include')
env.Prepend(CPPPATH = '#deps/mapbox/protozero/include') env.Prepend(CPPPATH = '#deps/mapbox/protozero/include')
env.Prepend(CPPPATH = '#deps/mapbox/polylabel/include') env.Prepend(CPPPATH = '#deps/mapbox/polylabel/include')
env.Prepend(CPPPATH = '#plugins/input/base/include')
# prepend deps dir for auxillary headers # prepend deps dir for auxillary headers
env.Prepend(CPPPATH = '#deps') env.Prepend(CPPPATH = '#deps')

View file

@ -87,6 +87,7 @@ if '-DHAVE_TIFF' in env['CPPDEFINES']:
if '-DHAVE_WEBP' in env['CPPDEFINES']: if '-DHAVE_WEBP' in env['CPPDEFINES']:
lib_env['LIBS'].append('webp') lib_env['LIBS'].append('webp')
enabled_imaging_libraries.append('webp_reader.cpp') enabled_imaging_libraries.append('webp_reader.cpp')
enabled_imaging_libraries.append('webp_io.cpp')
if env['XMLPARSER'] == 'libxml2' and env['HAS_LIBXML2']: if env['XMLPARSER'] == 'libxml2' and env['HAS_LIBXML2']:
lib_env['LIBS'].append('xml2') lib_env['LIBS'].append('xml2')
@ -152,6 +153,7 @@ else: # unix, non-macos
source = Split( source = Split(
""" """
mapnik.cpp
expression_grammar_x3.cpp expression_grammar_x3.cpp
fs.cpp fs.cpp
request.cpp request.cpp