From 04bbd728baecdb320e2a7e3a938de0a9f17423cc Mon Sep 17 00:00:00 2001 From: Hubert Chathi Date: Fri, 12 Oct 2018 18:55:05 -0400 Subject: [PATCH] always use files from ../include and ../build --- python/olm_build.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/python/olm_build.py b/python/olm_build.py index 281a571..ee836d8 100644 --- a/python/olm_build.py +++ b/python/olm_build.py @@ -26,12 +26,11 @@ PATH = os.path.dirname(__file__) DEVELOP = os.environ.get("DEVELOP") -compile_args = [] -link_args = [] +compile_args = ["-I../include"] +link_args = ["-L../build"] if DEVELOP and DEVELOP.lower() in ["yes", "true", "1"]: - compile_args = ["-I../include"] - link_args = ['-Wl,-L=../build,-rpath=../build'] + link_args.append('-Wl,-rpath=../build') ffibuilder.set_source(