1
0
Fork 0
firefox/third_party/chromium/build/config/linux/libffi/BUILD.gn
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

18 lines
595 B
Text

# Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//chromium/build/config/linux/pkg_config.gni")
if (default_toolchain == "//chromium/build/toolchain/cros:target") {
pkg_config("libffi") {
packages = [ "libffi" ]
}
} else {
# On Linux, statically link libffi. This is necessary to prevent a situation
# where the runtime version of libffi is different from the build-time version
# from the sysroot.
config("libffi") {
libs = [ ":libffi_pic.a" ]
}
}