comparison m4/acinclude.m4 @ 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 8e549734531e
children e0fded8bd7bb
comparison
equal deleted inserted replaced
29805:20380c9bed30 29807:89b8a7d7f75b
3521 CXXPICFLAG= 3521 CXXPICFLAG=
3522 FPICFLAG= 3522 FPICFLAG=
3523 SH_LDFLAGS="-shared -Wl,-expect_unresolved -Wl,'*'" 3523 SH_LDFLAGS="-shared -Wl,-expect_unresolved -Wl,'*'"
3524 ;; 3524 ;;
3525 *-*-darwin*) 3525 *-*-darwin*)
3526 DL_LDFLAGS="-bundle -bundle_loader ${ac_top_build_prefix}libinterp/octave ${LDFLAGS}" 3526 DL_LDFLAGS="-bundle -bundle_loader ${ac_top_build_prefix}src/octave${EXEEXT} ${LDFLAGS}"
3527 dnl Contains variables that are defined and undefined at this point, so use 3527 dnl Contains variables that are defined and undefined at this point, so use
3528 dnl appropriate quoting to defer expansion of ${bindir} and ${version}. 3528 dnl appropriate quoting to defer expansion of ${bindir} and ${version}.
3529 MKOCTFILE_DL_LDFLAGS='-bundle -bundle_loader ${bindir}/octave-${version}'"${EXEEXT}" 3529 MKOCTFILE_DL_LDFLAGS='-bundle -bundle_loader ${bindir}/octave-${version}'"${EXEEXT}"
3530 SH_LDFLAGS="-dynamiclib -single_module ${LDFLAGS}" 3530 SH_LDFLAGS="-dynamiclib -single_module ${LDFLAGS}"
3531 case $canonical_host_type in 3531 case $canonical_host_type in