export DYLD_IMAGE_SUFFIX=_missing && ${TESTROOT}/bin/exit-zero-pass.pl "weak-symbol" "weak-symbol" ./main
all: foo.c main.c
${CC} foo.c -dynamiclib -o libfoo.dylib -DSYMBOL_PRESENT
${CC} foo.c -dynamiclib -o libfoo_missing.dylib -install_name libfoo.dylib
export DYLD_IMAGE_SUFFIX=_missing && ${TESTROOT}/bin/exit-zero-pass.pl "weak-symbol" "weak-symbol" ./main
all: foo.c main.c
${CC} foo.c -dynamiclib -o libfoo.dylib -DSYMBOL_PRESENT
${CC} foo.c -dynamiclib -o libfoo_missing.dylib -install_name libfoo.dylib