From 1a3427685e82a89be02563a85be89bffbe639f10 Mon Sep 17 00:00:00 2001 From: mjbudd77 Date: Sun, 12 Jul 2020 09:00:17 -0400 Subject: [PATCH] Added logic to print shared object dependencies of mac os executable. --- pipelines/macOS_build.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pipelines/macOS_build.sh b/pipelines/macOS_build.sh index 19a9fbd8..f32e52f4 100755 --- a/pipelines/macOS_build.sh +++ b/pipelines/macOS_build.sh @@ -63,3 +63,13 @@ make install || exit 1 if [ ! -z $APPVEYOR_SSH_BLOCK ]; then curl -sflL 'https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-ssh.sh' | bash -e - fi + +if [ -e $INSTALL_PREFIX/usr/bin/fceux ]; then + echo '**************************************************************' + echo 'Printing Shared Object Dependencies for fceux Executable' + echo '**************************************************************' + otool -L $INSTALL_PREFIX/usr/bin/fceux +else + echo "Error: Executable Failed to build: $INSTALL_PREFIX/usr/bin/fceux"; + exit 1; +fi