mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
fix(boost)
the change to fix-machos broke other things, and introduced too much complexity.
This commit is contained in:
parent
31aaf57d71
commit
cfc772130b
1 changed files with 12 additions and 3 deletions
|
@ -13,9 +13,18 @@ build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
tea.xyz/gx/cc: c99
|
||||||
tea.xyz/gx/make: '*'
|
tea.xyz/gx/make: '*'
|
||||||
script: |
|
script:
|
||||||
./bootstrap.sh --prefix={{ prefix }}
|
- ./bootstrap.sh --prefix={{ prefix }}
|
||||||
./b2 $ARGS
|
- ./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:
|
env:
|
||||||
ARGS:
|
ARGS:
|
||||||
- install
|
- install
|
||||||
|
|
Loading…
Reference in a new issue