mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
fix(mpdecimal)
This commit is contained in:
parent
a910ada51e
commit
cb6743d374
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue