blob: 59b7f040c8af7561c2b7b50b4ae64cd7b45a8d8f [file] [log] [blame]
# 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("//build/config/linux/pkg_config.gni")
if (default_toolchain == "//build/toolchain/cros:target") {
pkg_config("libffi") {
packages = [ "libffi" ]
}
} else {
# On Linux, make sure we link against libffi version 6.
config("libffi") {
libs = [ ":libffi.so.6" ]
}
}