diff --git a/projects/boost.org/package.yml b/projects/boost.org/package.yml index b503e910..ed44f9f3 100644 --- a/projects/boost.org/package.yml +++ b/projects/boost.org/package.yml @@ -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