mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-09 06:08:02 +02:00
We don't use HAVE_CONFIG_H anymore
This commit is contained in:
parent
bdbc10077e
commit
d5e8a8c02e
2 changed files with 1 additions and 4 deletions
|
|
@ -97,9 +97,6 @@ endif
|
|||
|
||||
add_project_arguments('-D_GNU_SOURCE', language: 'c')
|
||||
|
||||
# Autotools compatibility
|
||||
add_project_arguments('-DHAVE_CONFIG_H', language: 'c')
|
||||
|
||||
# Make sure source directory hasn't been configured with autotools
|
||||
fs = import('fs')
|
||||
if fs.exists('config.h') or fs.exists('src/cairo-features.h') or fs.exists('src/cairo-supported-features.h')
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ fuzz_args = ['-fsanitize=fuzzer,address']
|
|||
foreach target_name : fuzz_targets
|
||||
exe = executable(target_name, [target_name + '.c'],
|
||||
include_directories: [incbase, incsrc],
|
||||
c_args: [fuzz_args, '-DHAVE_CONFIG_H'],
|
||||
c_args: [fuzz_args],
|
||||
link_with: [libcairo],
|
||||
link_args: [fuzz_args, extra_link_args],
|
||||
dependencies: [deps, test_deps])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue