Commit 51e2e9f0 authored by Oskar Skog's avatar Oskar Skog

configure.py: 'prefix' had been redefined

parent 03df4d62
...@@ -396,6 +396,8 @@ def find_MODULES(Makefile, flags): ...@@ -396,6 +396,8 @@ def find_MODULES(Makefile, flags):
if paths[0].startswith(libdir): if paths[0].startswith(libdir):
Makefile['MODULES'] = '$(libdir)' + paths[0][len(libdir):] Makefile['MODULES'] = '$(libdir)' + paths[0][len(libdir):]
else: else:
# prefix has been redefined, reredefine it
prefix = expand('prefix', Makefile)
Makefile['MODULES'] = '$(prefix)' + paths[0][len(prefix):] Makefile['MODULES'] = '$(prefix)' + paths[0][len(prefix):]
return False return False
......
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