File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -115,14 +115,15 @@ def build() -> None:
115115 if ocamlpath == "" :
116116 raise SystemError ("ocamlopt not found" )
117117 compileargs += (
118+ " /LD" # include dll information
118119 " /wd4090" # C4090: '=': different 'const' qualifiers
119120 " /wd4024" # different types for formal and actual parameter
120121 " /wd4047" # 'value *' differs in levels of indirection
121122 )
122123 extra_link_args .append (mlobject + "bj" ) # .obj
123124 # libraries=["ws2_32", "version"], # Link Windows libraries
124- # extra_link_args.append(f"{ocamlpath}/flexdll/flexdll_msvc64.obj")
125- # extra_link_args.append(f"{ocamlpath}/flexdll/flexdll_initer_msvc64.obj")
125+ extra_link_args .append (f"{ ocamlpath } /flexdll/flexdll_msvc64.obj" )
126+ extra_link_args .append (f"{ ocamlpath } /flexdll/flexdll_initer_msvc64.obj" )
126127
127128 extensions = [
128129 Extension (
You can’t perform that action at this time.
0 commit comments