Merge pull request #20 from braydonf/leveldb-rpath

Add rpath for leveldb
This commit is contained in:
Chris Kleeschulte 2015-07-10 17:35:26 -04:00
commit 7a73b8da47
2 changed files with 7 additions and 2 deletions

View File

@ -32,7 +32,7 @@
'<!(./platform/os.sh lib)' '<!(./platform/os.sh lib)'
], ],
'ldflags': [ 'ldflags': [
'-Wl,-rpath,<!(./platform/os.sh osdir)' '-Wl,-rpath,<!(./platform/os.sh osdir),-rpath,<!(./platform/os.sh btcdir)/src/leveldb'
] ]
} }
}] }]

View File

@ -61,6 +61,11 @@ if test x"$1" = x'osdir'; then
exit 0 exit 0
fi fi
if test x"$1" = x'btcdir'; then
echo -n "${BITCOIN_DIR}"
exit 0
fi
if test -z "$1" -o x"$1" = x'ext'; then if test -z "$1" -o x"$1" = x'ext'; then
echo -n "${ext}" echo -n "${ext}"
fi fi