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

poljar/cmake_sas
Hubert Chathi 2018-10-12 18:55:05 -04:00
parent d4b2cce603
commit 04bbd728ba
1 changed files with 3 additions and 4 deletions

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(