fix(mpdecimal)

This commit is contained in:
Jacob Heider 2023-04-14 00:57:31 -04:00 committed by Jacob Heider
parent a910ada51e
commit cb6743d374

View file

@ -13,14 +13,11 @@ build:
./configure --prefix={{ prefix }}
make --jobs {{hw.concurrency}} install
rm -rf {{prefix}}/share # docs are online
if test {{hw.platform}} = darwin; then
install_name_tool -change \
@rpath/libmpdec.3.dylib \
@loader_path/libmpdec.3.dylib \
{{prefix}}/lib/libmpdec++.dylib
fi
env:
darwin:
# fixes a ruby-machos error
LDFLAGS: -headerpad_max_install_names $LDFLAGS
LDXXFLAGS: -headerpad_max_install_names $LDXXFLAGS
test:
dependencies:
tea.xyz/gx/cc: c99