fix(folly) (#3285)

* fix(folly)

* ignore the symlinks
This commit is contained in:
Jacob Heider 2023-09-11 10:40:54 -04:00 committed by GitHub
parent 566def7f7a
commit fdfa834456
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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}}