mirror of https://github.com/CGAL/cgal
Darwin does not set RUNTIME_LINKER_FLAG, hence the old hack is still needed
This commit is contained in:
parent
878e910a70
commit
954154978a
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue