+ chmod +x shared-ld-sh
+
+ dnl Use the shared-ld-sh helper script
+ SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -o"
+ SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -o"
+ SHARED_LD_CXX="$SHARED_LD_CC"
+ SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
+ else
+ dnl Use the -single_module flag and let the linker do it for us
+ SHARED_LD_CC="\${CC} -dynamiclib -single_module -o"
+ SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -o"
+ SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -o"
+ SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -o"
+ fi