mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-12-28 06:27:13 +00:00
19e57b9532
Add a pkgconfig file and script to fix it up at build time. Also fix extern "C" for the qcow_utils header. BUG=chromium:806119 TEST=emerge-eve-kvm crosvm Change-Id: Ib69d9e88b42d2f2c8661798c37537a4236e0506e Reviewed-on: https://chromium-review.googlesource.com/891572 Commit-Ready: Stephen Barber <smbarber@chromium.org> Tested-by: Stephen Barber <smbarber@chromium.org> Reviewed-by: Dylan Reid <dgreid@chromium.org> Reviewed-by: Mike Frysinger <vapier@chromium.org>
16 lines
366 B
Bash
Executable file
16 lines
366 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# 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.
|
|
|
|
set -e
|
|
|
|
v=$1
|
|
include_dir=$2
|
|
target_dir=$3
|
|
|
|
sed \
|
|
-e "s/@BSLOT@/${v}/g" \
|
|
-e "s:@INCLUDE_DIR@:${include_dir}:g" \
|
|
"qcow_utils/libqcow_utils.pc.in" > "${target_dir}/libqcow_utils.pc"
|