Skip to content
Snippets Groups Projects
Commit 791b0eb7 authored by Nils-Arne Dreier's avatar Nils-Arne Dreier
Browse files

fix setup.py for build on levante

parent 354334de
No related branches found
No related tags found
No related merge requests found
......@@ -54,6 +54,11 @@ if not ldshared:
ldshared = config_ldshared.replace(" {0} ".format(config_cc),
" {0} ".format(cc))
# LDSHARED also contains LDFLAGS which may add unwanted search paths
# that take precedence over the LDFLAGS injected below
# and thus break embedded builds.
ldshared = ldshared.replace(config['LDFLAGS'], '')
# Override the default compiler flags set by setuptools but not the ones from
# the environment:
os.environ["CC"] = cc
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment