mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
fix(folly)
This commit is contained in:
parent
897778150b
commit
ee11f8fc7e
|
@ -33,11 +33,12 @@ build:
|
||||||
# piss awful code.
|
# piss awful code.
|
||||||
#TODO don’t use exotic characters in our build directories
|
#TODO don’t use exotic characters in our build directories
|
||||||
script: |
|
script: |
|
||||||
|
test -d xyz.tea.srcs && rm -rf xyz.tea.srcs
|
||||||
mv $SRCROOT xyz.tea.srcs
|
mv $SRCROOT xyz.tea.srcs
|
||||||
cmake $ARGS -S xyz.tea.srcs -B .
|
cmake $ARGS -S xyz.tea.srcs -B .
|
||||||
make --jobs {{hw.concurrency}} install
|
make --jobs {{hw.concurrency}} install
|
||||||
|
|
||||||
sed -i.bak "s:$TEA_PREFIX:\$\{_IMPORT_PREFIX\}/../../..:g" "{{prefix}}"/lib/cmake/folly/folly-targets.cmake
|
sed -i.bak "s:$(tea --prefix):\$\{_IMPORT_PREFIX\}/../../..:g" "{{prefix}}"/lib/cmake/folly/folly-targets.cmake
|
||||||
rm "{{prefix}}"/lib/cmake/folly/folly-targets.cmake.bak
|
rm "{{prefix}}"/lib/cmake/folly/folly-targets.cmake.bak
|
||||||
|
|
||||||
cd {{prefix}}/lib/pkgconfig
|
cd {{prefix}}/lib/pkgconfig
|
||||||
|
|
Loading…
Reference in a new issue