Can I build a *.dll for windows on linux?

When deploying a model on linux,we can load the onnx model and export *.so, *.json, *.params just following the code below. But deploying a model on windows, we should have a *.dll, can i just replace “.so” with “.dll” to build a *.dll?

mod, params = relay.frontend.from_onnx(onnx_model, shape_dict)
with tvm.transform.PassContext(opt_level=3):
    graph, lib, params = relay.build_module.build(
        mod, target=target, params=params)

print("Output .so model files")
libpath = "./target.so"
lib.export_library(libpath)

graph_json_path = ./target.json"
with open(graph_json_path, 'w') as fo:
    fo.write(graph)

param_path = "./target.params"
with open(param_path, 'wb') as fo:
    fo.write(relay.save_param_dict(params))