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', 'parser.so',
'-shared', '-shared',
'-lstdc++', '-lstdc++',
'-fPIC',
'-Os', '-Os',
'-I./src', '-I./src',
repo.files repo.files