Update stage scripts for crosstools based linux build
This commit is contained in:
parent
bd36724a09
commit
4a2c335c06
37 changed files with 84 additions and 121 deletions
|
@ -35,9 +35,14 @@ ffbuild_dockerbuild() {
|
|||
echo "Description: OpenCL ICD Loader" >> OpenCL.pc
|
||||
echo "Version: 9999" >> OpenCL.pc
|
||||
echo "Libs: -L\${libdir} -lOpenCL" >> OpenCL.pc
|
||||
echo "Libs.private: -lole32 -lshlwapi -lcfgmgr32" >> OpenCL.pc
|
||||
echo "Cflags: -I\${includedir}" >> OpenCL.pc
|
||||
|
||||
if [[ $TARGET == linux* ]]; then
|
||||
echo "Libs.private: -ldl" >> OpenCL.pc
|
||||
elif [[ $TARGET == win* ]]; then
|
||||
echo "Libs.private: -lole32 -lshlwapi -lcfgmgr32" >> OpenCL.pc
|
||||
fi
|
||||
|
||||
mkdir -p "$FFBUILD_PREFIX"/lib/pkgconfig
|
||||
mv OpenCL.pc "$FFBUILD_PREFIX"/lib/pkgconfig/OpenCL.pc
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue