Library/Formula/wine.rb
# Wine loads many libraries lazily using dlopen calls, so it needs these paths
# to be searched by dyld.
# Including /usr/lib because wine, as of 1.3.15, tries to dlopen
# libncurses.5.4.dylib, and fails to find it without the fallback path.
Wine loads many libraries lazily using dlopen calls, so it needs these paths
to be searched by dyld.
Including /usr/lib because wine, as of 1.3.15, tries to dlopen
libncurses.5.4.dylib, and fails to find it without the fallback path.
Wine loads many libraries lazily using dlopen calls so it needs these paths to be searched by dyld . Including / usr / lib because wine as of 1 . 3 . 15 tries to dlopen libncurses . 5 . 4 . dylib and fails to find it without the fallback path .
def wine_wrapper; <<-EOS.undent
    #!/bin/sh
    DYLD_FALLBACK_LIBRARY_PATH="#{library_path}" "#{bin}/wine.bin" "$@"
    EOS
  end
def wine_wrapper ; <<-EOS . undent 
    #!/bin/sh
    DYLD_FALLBACK_LIBRARY_PATH=" #{ library_path } " " #{ bin } /wine.bin" "$@"
     EOS end
Wine loads many libraries lazily using dlopen calls, so it needs these paths
to be searched by dyld.
Wine loads many libraries lazily using dlopen calls so it needs these paths to be searched by dyld .