Commit 097c216d authored by Eduardo Souza's avatar Eduardo Souza

Minor

parent 3ac9d211
......@@ -376,10 +376,7 @@ class MuVM:
# type: (str, [MuCString]) -> None
with rffi.scoped_str2charp(lib_name) as lib_name_buf:
extra_srcs_arr, extra_srcs_sz = lst2arr(MuCString, extra_srcs)
if context_only:
self._mu.c_compile_to_sharedlib(self._mu, lib_name_buf, extra_srcs_arr, extra_srcs_sz, MuCmpOptr.FTRUE)
else:
self._mu.c_compile_to_sharedlib(self._mu, lib_name_buf, extra_srcs_arr, extra_srcs_sz, MuCmpOptr.FFALSE)
self._mu.c_compile_to_sharedlib(self._mu, lib_name_buf, extra_srcs_arr, extra_srcs_sz, rffi.cast(MuBool, context_only))
if extra_srcs_arr:
rffi.free_charpp(extra_srcs_arr)
......
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