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")
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(