Commit 03df4d62 authored by Oskar Skog's avatar Oskar Skog

configure.py: str.startswith not .beginswith

parent 352926e3
......@@ -393,7 +393,7 @@ def find_MODULES(Makefile, flags):
if paths:
# NOTICE: Just notice this rather ugly construction.
# You can't just change the data.
if paths[0].beginswith(libdir):
if paths[0].startswith(libdir):
Makefile['MODULES'] = '$(libdir)' + paths[0][len(libdir):]
else:
Makefile['MODULES'] = '$(prefix)' + paths[0][len(prefix):]
......
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