Commit cdab8426 authored by Matti Picus's avatar Matti Picus
Browse files fix typo, condition exception on _fake=False

parent 2c98ee4a95b3
......@@ -161,7 +161,8 @@ def create_package(basedir, options, _fake=False):
print('Picking %s (and contents)' % libsdir)
shutil.copytree(str(libsdir), str(pypydir.join('libs')))
raise RuntimError('"libs" dir with import library not found.')
if not _fake:
raise RuntimeError('"libs" dir with import library not found.')
# XXX users will complain that they cannot compile capi (cpyext)
# modules for windows, also embedding pypy (i.e. in cffi)
# will fail.
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