little PR to fix the install_py_bindings.sh script after @flub's changes

This commit is contained in:
holger krekel
2019-06-24 15:05:54 +02:00
parent bc8eabca27
commit 419add4902

View File

@@ -2,13 +2,5 @@
set -ex
#cd ..
#cargo build -p deltachat_ffi --release
#cd python
export CFLAGS=-I`realpath ../deltachat-ffi`
# the followine line results in "libdeltachat.so" not found
# export LDFLAGS='-Wl,-rpath=$ORIGIN/../target/release -Wl,--enable-new-dtags'
pip install -e .
export LD_LIBRARY_PATH=`realpath ../target/release`
python -c "import deltachat"
cargo build -p deltachat_ffi --release
DCC_RS_DEV=`pwd`/.. pip install -e .