always use files from ../include and ../build

This commit is contained in:
Hubert Chathi 2018-10-12 18:55:05 -04:00
parent d4b2cce603
commit 04bbd728ba

View file

@ -26,12 +26,11 @@ PATH = os.path.dirname(__file__)
DEVELOP = os.environ.get("DEVELOP") DEVELOP = os.environ.get("DEVELOP")
compile_args = [] compile_args = ["-I../include"]
link_args = [] link_args = ["-L../build"]
if DEVELOP and DEVELOP.lower() in ["yes", "true", "1"]: if DEVELOP and DEVELOP.lower() in ["yes", "true", "1"]:
compile_args = ["-I../include"] link_args.append('-Wl,-rpath=../build')
link_args = ['-Wl,-L=../build,-rpath=../build']
ffibuilder.set_source( ffibuilder.set_source(