- ${CC} -I${TESTROOT}/include main.c -o main hide/libbar.dylib libfoo2.dylib
- install_name_tool -change libfoo2.dylib '@loader_path/libfoo2.dylib' main
- install_name_tool -change libbar.dylib '@loader_path/hide/libbar.dylib' main
+ ${CC} -Wno-deprecated-declarations -I${TESTROOT}/include main.c -o main hide/libbar.dylib libfoo2.dylib
+ ${INSTALL_NAME_TOOL} -change libfoo2.dylib '@loader_path/libfoo2.dylib' main
+ ${INSTALL_NAME_TOOL} -change libbar.dylib '@loader_path/hide/libbar.dylib' main