Skip to content

Commit

Permalink
added small script to fix the dependency issue with libcrypto on OSX
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.assembla.com/svn/hydrogen/trunk@1310 3b3fb362-3133-0410-aa15-cf69e0a59cb7
  • Loading branch information
mauser committed Aug 8, 2009
1 parent ee0ad6b commit 392eecf
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions macos/fixlibcrypto.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/sh

#
# written by Magnus Oman to solve the libcrypto dependency issue
#

if test $(echo $0 | grep "\.app/Contents/MacOS/Hydrogen"); then
HYDROGEN_DIR="$(dirname "$0")"
else
HYDROGEN_DIR="$PWD"
fi

export DYLD_FALLBACK_LIBRARY_PATH="$DYLD_FALLBACK_LIBRARY_PATH":"$HYDROGEN_DIR/../Frameworks"
exec "$HYDROGEN_DIR/Hydrogen-bin" "$@"

0 comments on commit 392eecf

Please sign in to comment.