aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python/olm_build.py7
1 files 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(