Commit 4d94f593 authored by mz-fuzzy's avatar mz-fuzzy

configured compiler binary to be respected in setup.py

parent 2c6d28af
...@@ -20,6 +20,8 @@ def process_configparams(): ...@@ -20,6 +20,8 @@ def process_configparams():
cflags += " -I" + os.path.dirname(value) cflags += " -I" + os.path.dirname(value)
elif identifier == "LIB_DIR": elif identifier == "LIB_DIR":
cflags += " -L" + value cflags += " -L" + value
elif identifier in ("CC", "CXX"):
os.environ[identifier] = value
os.environ["CFLAGS"] = cflags os.environ["CFLAGS"] = cflags
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment