Create a MacOS X App Bundle Using MacPorts: Difference between revisions

Jump to navigation Jump to search
(→‎Fixing "{{Codeline|dyld: Library not loaded}}" Errors: add "islink" property to outputs for dylibs_find.m)
Line 189: Line 189:
  -- Function File: = dylibs_get_deps (NAME, ROOT)
  -- Function File: = dylibs_get_deps (NAME, ROOT)
     Extracts the dependent libary names from the named binary, NAME.
     Extracts the dependent libary names from the named binary, NAME.
     If ROOT is specified, the only libraries returned have a path
     If ROOT is specified, the only libraries returned will have paths
     which begins with that specified by ROOT.</nowiki>
     which begin with one of the cell-strings contained by ROOT.
* [[dylibs_isdylib.m]]
<nowiki> -- Function File: result = dylibs_isdylib (FILENAME)
    Determines if the filename qualifies as a dynamically loaded
    library.  The RESULT is TRUE for dylib-files, oct-files, and
    mex-files.  The result is FALSE for all other files.


     This function isn't sophisticated. It only examines the file
     The defaults for ROOT are `{"/opt/local/", "/sw/", "/usr/local/",
     extension.</nowiki>
    "@executable_path"}'. These root paths are intended to match all
    the relocatable libraries which should be included in an App
    bundle.  The first and second entries correspond to the MacPorts
     and Fink installation directories, respectively.</nowiki>


To apply these scripts, change the current directory to {{Codeline|Octave-3.7.0+.app/Contents/Resources}}, and enter the command below.
To apply these scripts, change the current directory to {{Codeline|Octave-3.7.0+.app/Contents/Resources}}, and enter the command below.
364

edits

Navigation menu