Merge pull request #20 from braydonf/leveldb-rpath
Add rpath for leveldb
This commit is contained in:
commit
7a73b8da47
|
@ -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'
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}]
|
}]
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue