Merge pull request #122 from yangrq1018/pr-linux-build

fix linux build
This commit is contained in:
fasiondog 2023-10-27 01:21:35 +08:00 committed by GitHub
commit 2bbb700eb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,6 +51,7 @@ target("hikyuu")
end
if is_plat("linux", "cross") then
add_cxflags("-fPIC")
if get_config("hdf5") then
add_packages("hdf5")
end