aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHubert Chathi <hubert@uhoreg.ca>2018-10-12 18:55:05 -0400
committerHubert Chathi <hubert@uhoreg.ca>2018-10-12 18:55:05 -0400
commit04bbd728baecdb320e2a7e3a938de0a9f17423cc (patch)
treed4fc8e7055affa8617d495524fac14141fe51f16
parentd4b2cce60345662512238f5e26bd4eff2d83ba4c (diff)
always use files from ../include and ../build
-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(