Ticket #51612: patch-configure-mkoctfile.patch

File patch-configure-mkoctfile.patch, 1.4 KB (added by fredowski, 8 years ago)
  • configure.ac

    old new  
    20492049    SH_LDFLAGS="-shared -Wl,-expect_unresolved -Wl,'*'"
    20502050  ;;
    20512051  *-*-darwin*)
    2052     DL_LDFLAGS="-bundle -bundle_loader ${top_builddir}/libinterp/octave ${LDFLAGS}"
    2053     MKOCTFILE_DL_LDFLAGS="-bundle -bundle_loader ${bindir}/octave-${version}${EXEEXT}"
     2052    DL_LDFLAGS='-bundle -bundle_loader ${top_builddir}/libinterp/octave ${LDFLAGS}'
     2053    MKOCTFILE_DL_LDFLAGS='-bundle -bundle_loader ${bindir}/octave-${version}${EXEEXT}'
    20542054    SH_LDFLAGS="-dynamiclib -single_module ${LDFLAGS}"
    20552055    case $canonical_host_type in
    20562056      powerpc-*)
     
    20612061    esac
    20622062    SHLEXT=dylib
    20632063    SHLLIB="${SHLEXT}"
    2064     SHLEXT_VER="${version}.${SHLEXT}"
    2065     SHLLIB_VER="${version}.${SHLLIB}"
     2064    SHLEXT_VER='${version}.${SHLEXT}'
     2065    SHLLIB_VER='${version}.${SHLLIB}'
    20662066    NO_OCT_FILE_STRIP=true
    20672067    SONAME_FLAGS='-install_name ${octlibdir}/$@'
    20682068    library_path_var=DYLD_LIBRARY_PATH
     
    33773377  eval man1dir="\"$man1dir\""
    33783378  eval man1ext="\"$man1ext\""
    33793379  eval infofile="\"$infofile\""
     3380  eval DL_LDFLAGS="\"$DL_LDFLAGS\""
     3381  eval MKOCTFILE_DL_LDFLAGS="\"$MKOCTFILE_DL_LDFLAGS\""
     3382  eval SHLEXT_VER="\"$SHLEXT_VER\""
     3383  eval SHLLIB_VER="\"$SHLLIB_VER\""
     3384  eval SONAME_FLAGS="\"$SONAME_FLAGS\""
    33803385])
    33813386
    33823387### Do the substitutions in Makefiles and other scripts that