- ${CC} main.c -o main-${ARCH} -exported_symbols_list main.exp
- ${FAIL_IF_BAD_MACHO} main-${ARCH}
- nm -m main-${ARCH} | grep _magicSymbol | grep "referenced dynamically" | ${PASS_IFF_STDIN}
+ ${CC} main.c -o main -exported_symbols_list main.exp
+ nm -m main | grep _magicSymbol | grep "referenced dynamically" | ${FAIL_IF_EMPTY}
+ nm -m main | grep _hiddenSymbol | grep "referenced dynamically" | ${FAIL_IF_STDIN}
+ ${PASS_IFF_GOOD_MACHO} main
+