mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 06:10:11 +08:00
19 lines
328 B
Bash
19 lines
328 B
Bash
|
#!/usr/bin/bash
|
||
|
|
||
|
# Deploys the ffnvcodec.pc file to the MSYS rootfs so that pkgconfig can find it.
|
||
|
|
||
|
set -e
|
||
|
export PATH=/usr/bin:$PATH
|
||
|
|
||
|
SOURCE_PATH="$1"
|
||
|
CURRENT_PACKAGES_DIR="$2"
|
||
|
|
||
|
pushd ${SOURCE_PATH}
|
||
|
|
||
|
# Create ffnvcodec.pc
|
||
|
make PREFIX=${CURRENT_PACKAGES_DIR}
|
||
|
make install PREFIX=${CURRENT_PACKAGES_DIR}
|
||
|
|
||
|
|
||
|
popd
|