fix: add -fPIC flag to compiling

This commit is contained in:
haorenW1025 2020-04-23 13:48:20 +08:00
parent ee5e88dca2
commit eb0f9b9e23

View file

@ -77,6 +77,7 @@ local function run_install(cache_folder, package_path, ft, repo)
'parser.so',
'-shared',
'-lstdc++',
'-fPIC',
'-Os',
'-I./src',
repo.files