mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 16:35:07 +03:00
parent
566def7f7a
commit
fdfa834456
1 changed files with 9 additions and 0 deletions
|
@ -60,6 +60,15 @@ build:
|
||||||
sed -i.bak -e 's/-I[^ ]* *//g' libfolly.pc
|
sed -i.bak -e 's/-I[^ ]* *//g' libfolly.pc
|
||||||
rm libfolly.pc.bak
|
rm libfolly.pc.bak
|
||||||
working-directory: ${{prefix}}/lib/pkgconfig
|
working-directory: ${{prefix}}/lib/pkgconfig
|
||||||
|
|
||||||
|
# folly has libs that end up with name @rpath/libfolly.{{version}}.dylib (offset 24)
|
||||||
|
# so we need to add @loader_path to the rpath
|
||||||
|
- run: |
|
||||||
|
for LIB in libfolly*.*.*.*-dev.dylib; do
|
||||||
|
install_name_tool -add_rpath @loader_path $LIB
|
||||||
|
done
|
||||||
|
working-directory: ${{prefix}}/lib
|
||||||
|
if: darwin
|
||||||
env:
|
env:
|
||||||
ARGS:
|
ARGS:
|
||||||
- -DCMAKE_INSTALL_PREFIX={{prefix}}
|
- -DCMAKE_INSTALL_PREFIX={{prefix}}
|
||||||
|
|
Loading…
Reference in a new issue