Skip to content
This repository has been archived by the owner on Dec 2, 2020. It is now read-only.

Commit

Permalink
Merge pull request #37 from nonrational/fix-default-dyld-behavior
Browse files Browse the repository at this point in the history
Fix blank DYLD_FALLBACK_LIBRARY_PATH behavior
  • Loading branch information
dgoodlad committed Aug 12, 2014
2 parents 41e9164 + e422f59 commit a6b24ff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions files/java.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
# Invoke java with the $DYLD_LIBRARY_PATH set with the homebrew lib dir.
# This allows java to load native libraries installed via homebrew.

if [ -z "$DYLD_FALLBACK_LIBRARY_PATH" ]; then
DYLD_FALLBACK_LIBRARY_PATH="$HOME/lib:/usr/local/lib:/lib:/usr/lib"
fi

export DYLD_FALLBACK_LIBRARY_PATH="$BOXEN_HOME/homebrew/lib:$DYLD_FALLBACK_LIBRARY_PATH"

if [ -x /usr/libexec/java_home ]; then
Expand Down

0 comments on commit a6b24ff

Please sign in to comment.