From a85be1eff223b04eed2f8e36f4c9526a9e039bb5 Mon Sep 17 00:00:00 2001 From: Erik Gomez Date: Mon, 14 Dec 2020 17:17:50 -0600 Subject: [PATCH] another echo --- build_python_framework | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build_python_framework b/build_python_framework index cb55a5f..d2f1c40 100755 --- a/build_python_framework +++ b/build_python_framework @@ -114,6 +114,8 @@ if [ "${TOTAL_DYLIB}" != "${UNIVERSAL_DYLIB}" ] ; then exit 1 fi +echo "Dynamic Libraries are confirmed as universal" + TOTAL_SO=$(/usr/bin/find "$TOOLSDIR/payload/${FRAMEWORKDIR}/Python.framework/Versions/Current/lib" -name "*.so" | /usr/bin/wc -l | /usr/bin/xargs) UNIVERSAL_SO=$(/usr/bin/find "$TOOLSDIR/payload/${FRAMEWORKDIR}/Python.framework/Versions/Current/lib" -name "*.so" | /usr/bin/xargs file | /usr/bin/grep "2 architectures" | /usr/bin/wc -l | /usr/bin/xargs) if [ "${TOTAL_SO}" != "${UNIVERSAL_SO}" ] ; then @@ -122,3 +124,5 @@ if [ "${TOTAL_SO}" != "${UNIVERSAL_SO}" ] ; then echo "Universal shared objects found: ${UNIVERSAL_SO}" exit 1 fi + +echo "Shared objects are confirmed as universal"