From 352a4699e0bd84a4158bd2c9f30f5ed75ace7908 Mon Sep 17 00:00:00 2001 From: =?utf8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Mon, 27 Jan 2025 17:13:40 +0100 Subject: [PATCH] Build against system's libsamplerate Origin: Debian Forwarded: no Last-Update: 2025-01-26 Last-Update: 2025-01-26 Gbp-Pq: Name libsamplerate.patch --- meson.build | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index d685681..c43c22a 100644 --- a/meson.build +++ b/meson.build @@ -354,8 +354,9 @@ if get_option('libsamplerate').allowed() opt_var.add_cmake_defines({'CMAKE_BUILD_TYPE': 'Debug'}) endif opt_var.add_cmake_defines({'CMAKE_POSITION_INDEPENDENT_CODE': 'ON'}) - libsamplerate_subproject = cmake.subproject('libsamplerate', options: opt_var) - libsamplerate_dep = libsamplerate_subproject.dependency('samplerate') + #libsamplerate_subproject = cmake.subproject('libsamplerate', options: opt_var) + #libsamplerate_dep = libsamplerate_subproject.dependency('samplerate') + libsamplerate_dep = dependency('samplerate', required: get_option('libsamplerate')) found_libsamplerate = libsamplerate_dep.found() if not found_libsamplerate and not get_option('libsamplerate').auto() error('failed to configure libsamplerate') -- 2.30.2