diff --git a/packages/par2/build.sh b/packages/par2/build.sh index dcd1214ab..fc0fb2ba3 100644 --- a/packages/par2/build.sh +++ b/packages/par2/build.sh @@ -11,7 +11,7 @@ TERMUX_PKG_BUILD_IN_SRC=true termux_step_pre_configure() { if [ $TERMUX_ARCH = "i686" ]; then # Avoid undefined reference to __atomic_* functions: - LDFLAGS+=" -latomic" + export LIBS=" -latomic" fi aclocal automake --add-missing