imagemagick: fix undefined symbol on arm

And remove extra i686 linking, it doesn't seem to be necessary
anymore.
This commit is contained in:
Henrik Grimler 2022-04-14 08:37:53 +02:00
parent 893fc01fb7
commit f041d6dc51
No known key found for this signature in database
GPG Key ID: B0076E490B71616B
1 changed files with 1 additions and 4 deletions

View File

@ -27,8 +27,5 @@ share/ImageMagick-7/francais.xml
"
termux_step_pre_configure() {
if [ $TERMUX_ARCH = "i686" ]; then
#Avoid "libMagickCore-7.Q16HDRI.so: error: undefined reference to '__atomic_load'"
LDFLAGS+=" -latomic"
fi
export LDFLAGS+=" $($CC -print-libgcc-file-name)"
}