This is from the upstream library commit id 3326535126e435f1ba647885ce43a8f0f3d317eb, corresponding to Chromium 88.0.4290.1.
22 lines
455 B
Meson
22 lines
455 B
Meson
pffft_sources = [
|
|
'src/pffft.c',
|
|
]
|
|
|
|
pffft_cflags = [ '-D_GNU_SOURCE' ]
|
|
|
|
if (have_arm and not have_neon) or (have_mips and host_machine.endian() == 'little') or have_mips64
|
|
pffft_cflags += [ '-DPFFFT_SIMD_DISABLE' ]
|
|
endif
|
|
|
|
libpffft = static_library('libpffft',
|
|
pffft_sources,
|
|
dependencies: common_deps,
|
|
include_directories: webrtc_inc,
|
|
c_args : common_cflags + pffft_cflags
|
|
)
|
|
|
|
pffft_dep = declare_dependency(
|
|
link_with: libpffft
|
|
)
|
|
|