Add rpath for leveldb
This commit is contained in:
parent
1f16fdf724
commit
9daab98228
|
@ -17,7 +17,7 @@
|
|||
'GCC_ENABLE_CPP_RTTI': 'YES',
|
||||
'MACOSX_DEPLOYMENT_TARGET': '10.9'
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
],
|
||||
'cflags_cc': [
|
||||
|
@ -32,7 +32,7 @@
|
|||
'<!(./platform/os.sh lib)'
|
||||
],
|
||||
'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
|
||||
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
|
||||
echo -n "${ext}"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue