@needs_make('mingw32-make')
@needs_dlfcn
def test_dylink_zlib(self):
    self.emcc_args += [('-I' + path_from_root('tests', 'third_party', 'zlib')), '-s', 'RELOCATABLE']
    zlib_archive = self.get_zlib_library()
    self.dylink_test(main=open(path_from_root('tests', 'third_party', 'zlib', 'example.c')).read(), side=zlib_archive, expected=open(path_from_root('tests', 'core', 'test_zlib.out')).read(), force_c=True)
@needs_make('mingw32-make')
@needs_dlfcn
def test_dylink_zlib(self):
    self.emcc_args += [('-I' + path_from_root('tests', 'third_party', 'zlib')), '-s', 'RELOCATABLE']
    zlib_archive = self.get_zlib_library()
    self.dylink_test(main=open(path_from_root('tests', 'third_party', 'zlib', 'example.c')).read(), side=zlib_archive, expected=open(path_from_root('tests', 'core', 'test_zlib.out')).read(), force_c=True)