--- configure.orig 2015-01-18 14:33:40.000000000 -0600 +++ configure 2015-11-01 21:50:47.000000000 -0600 @@ -8825,16 +8735,16 @@ # # MH LD_RXLIB_A1="${CC} -bundle -flat_namespace -undefined suppress -o \$(@)" # MH LD_RXLIB_A2="${CC} -bundle -flat_namespace -undefined suppress -o \$(@)" - LD_RXLIB_A1="${CC} ${EEXTRA} -dynamiclib -headerpad_max_install_names ${LDFLAGS} -o \$(@)" - LD_RXLIB_A2="${CC} ${EEXTRA} -dynamiclib -headerpad_max_install_names ${LDFLAGS} -o \$(@)" - LD_RXLIB_UTILA="${CC} ${EEXTRA} -dynamiclib -headerpad_max_install_names ${LDFLAGS} -o \$(@)" + LD_RXLIB_A1="${CC} ${EEXTRA} -dynamiclib -headerpad_max_install_names ${LDFLAGS} -install_name ${libdir}/\$(@) -o \$(@)" + LD_RXLIB_A2="${CC} ${EEXTRA} -dynamiclib -headerpad_max_install_names ${LDFLAGS} -install_name ${libdir}/\$(@) -o \$(@)" + LD_RXLIB_UTILA="${CC} ${EEXTRA} -dynamiclib -headerpad_max_install_names ${LDFLAGS} -install_name ${libdir}/\$(@) -o \$(@)" LD_RXLIB_B1="-L. -l${SHLFILE} -lc \$(SHLIBS)" LD_RXLIB_B2="-L. -l${SHLFILE} -lc \$(SHLIBS)" LD_RXLIB_UTILB="-L. -l${SHLFILE} -lc \$(SHLIBS) $REGUTIL_TERM_LIB" DYN_COMP="-DDYNAMIC -fno-common" SHLPRE="lib" BUNDLE=".junk" - SHL_LD="${CC} ${EEXTRA} -dynamiclib ${LDFLAGS} -headerpad_max_install_names -o ${SHLPRE}${SHLFILE}${SHLPST} "'$('SHOFILES')' + SHL_LD="${CC} ${EEXTRA} -dynamiclib ${LDFLAGS} -headerpad_max_install_names -install_name ${libdir}/${SHLPRE}${SHLFILE}${SHLPST} -o ${SHLPRE}${SHLFILE}${SHLPST} "'$('SHOFILES')' SHL_BASE="${LIBPRE}${SHLFILE}${SHLPST}" OTHER_INSTALLS="installmaclib" ;;