blob: 62471b32793c08188ff02711cecf4c8696f3d74c [file] [log] [blame] [edit]
# Copyright 2018 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# A function to generate the pkg-config cflags.
define get_pc_cflags
$(shell $(PKG_CONFIG) --cflags $1)
endef
# A function to generate the pkg-config libs.
define get_pc_libs
$(shell $(PKG_CONFIG) --libs $1)
endef