[Fix] ctp: fixed linux .so not found error
This commit is contained in:
parent
8e5ea24a36
commit
c7078531b7
4
setup.py
4
setup.py
@ -34,7 +34,7 @@ vnctpmd = Extension("vnpy.api.ctp.vnctpmd",
|
|||||||
extra_compile_args=compiler_flags,
|
extra_compile_args=compiler_flags,
|
||||||
extra_link_args=extra_link_args,
|
extra_link_args=extra_link_args,
|
||||||
depends=[],
|
depends=[],
|
||||||
runtime_library_dirs=["vnpy/api/ctp"],
|
runtime_library_dirs=["$ORIGIN"],
|
||||||
language="cpp",
|
language="cpp",
|
||||||
)
|
)
|
||||||
vnctptd = Extension("vnpy.api.ctp.vnctptd",
|
vnctptd = Extension("vnpy.api.ctp.vnctptd",
|
||||||
@ -48,7 +48,7 @@ vnctptd = Extension("vnpy.api.ctp.vnctptd",
|
|||||||
libraries=["thostmduserapi", "thosttraderapi", ],
|
libraries=["thostmduserapi", "thosttraderapi", ],
|
||||||
extra_compile_args=compiler_flags,
|
extra_compile_args=compiler_flags,
|
||||||
extra_link_args=extra_link_args,
|
extra_link_args=extra_link_args,
|
||||||
runtime_library_dirs=["vnpy/api/ctp"],
|
runtime_library_dirs=["$ORIGIN"],
|
||||||
depends=[],
|
depends=[],
|
||||||
language="cpp",
|
language="cpp",
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user