[OpenSmalltalk/opensmalltalk-vm] b680bc: Fix module loading on MacOS so that the app bindle...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[OpenSmalltalk/opensmalltalk-vm] b680bc: Fix module loading on MacOS so that the app bindle...

Eliot Miranda-3
 
  Branch: refs/heads/Cog
  Home:   https://github.com/OpenSmalltalk/opensmalltalk-vm
  Commit: b680bc531451fa26df212ce071c2bf2a4c3dacc3
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/b680bc531451fa26df212ce071c2bf2a4c3dacc3
  Author: Eliot Miranda <[hidden email]>
  Date:   2020-04-27 (Mon, 27 Apr 2020)

  Changed paths:
    M platforms/iOS/vm/OSX/sqMacUnixExternalPrims.m

  Log Message:
  -----------
  Fix module loading on MacOS so that the app bindle's Resources directory is
searched for dylibs.  Search for .dylib before .so in tryLoadingVariations,
unless on PharoVM (I don't want to break anything, but think Pharo should so so
too).  Eliminate the use of Contents/macOS/Plugins except for Pharo.  AFAIA,
no one else uses the Contents/MacOS/Plugins sub-directory, and
Contents/Frameworks is correct.