Mercurial > octave
changeset 29807:89b8a7d7f75b stable
build: Use correct path to octave binary in build tree on macOS.
* m4/acinclude.m4: Use correct path to octave binary in DL_LDFLAGS on macOS.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Thu, 24 Jun 2021 17:47:21 +0200 |
parents | 20380c9bed30 |
children | e0fded8bd7bb 26ade4c9b67b |
files | m4/acinclude.m4 |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/m4/acinclude.m4 Wed Jun 23 12:26:48 2021 +0200 +++ b/m4/acinclude.m4 Thu Jun 24 17:47:21 2021 +0200 @@ -3523,7 +3523,7 @@ SH_LDFLAGS="-shared -Wl,-expect_unresolved -Wl,'*'" ;; *-*-darwin*) - DL_LDFLAGS="-bundle -bundle_loader ${ac_top_build_prefix}libinterp/octave ${LDFLAGS}" + DL_LDFLAGS="-bundle -bundle_loader ${ac_top_build_prefix}src/octave${EXEEXT} ${LDFLAGS}" dnl Contains variables that are defined and undefined at this point, so use dnl appropriate quoting to defer expansion of ${bindir} and ${version}. MKOCTFILE_DL_LDFLAGS='-bundle -bundle_loader ${bindir}/octave-${version}'"${EXEEXT}"