fix(boost)

the change to fix-machos broke other things, and introduced too much complexity.
This commit is contained in:
Jacob Heider 2023-08-23 16:58:34 -04:00
parent 31aaf57d71
commit cfc772130b
No known key found for this signature in database
GPG key ID: A98011B5713535BF

View file

@ -13,9 +13,18 @@ build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
script: |
./bootstrap.sh --prefix={{ prefix }}
./b2 $ARGS
script:
- ./bootstrap.sh --prefix={{ prefix }}
- ./b2 $ARGS
# boost.org has libs that end up with name @rpath/libboost_atomic.dylib (offset 24)
# so we need to add @loader_path to the rpath
- run: |
for LIB in *.dylib; do
install_name_tool -add_rpath @loader_path $LIB
done
working-directory: ${{prefix}}/lib
if: darwin
env:
ARGS:
- install