Darwin does not set RUNTIME_LINKER_FLAG, hence the old hack is still needed

This commit is contained in:
Joachim Reichel 2007-04-03 16:19:16 +00:00
parent 878e910a70
commit 954154978a
1 changed files with 1 additions and 0 deletions

View File

@ -4521,6 +4521,7 @@ installation()
for i in `cd "${CGAL_LIB_DIR}/${CGAL_OS_COMPILER}"; ls *${CGAL_SHARED_LIB_EXT}`; do
log_print "Fixing lib paths in" "${i}"
${_install_name_tool} -id "${_CGAL_IDIR}/${i}" "${_CGAL_IDIR}/${i}"
${_install_name_tool} -change "${CGAL_LIB_DIR}/${CGAL_OS_COMPILER}/libCGAL.dylib" "${_CGAL_IDIR}/libCGAL.dylib" "${_CGAL_IDIR}/${i}"
done;;
esac