From 419add4902dfdd7814afa579078d7ec8a84eb050 Mon Sep 17 00:00:00 2001 From: holger krekel Date: Mon, 24 Jun 2019 15:05:54 +0200 Subject: [PATCH] little PR to fix the install_py_bindings.sh script after @flub's changes --- python/install_py_bindings.sh | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/python/install_py_bindings.sh b/python/install_py_bindings.sh index 466b146ef..c145036fe 100755 --- a/python/install_py_bindings.sh +++ b/python/install_py_bindings.sh @@ -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 .