Merge pull request #21 from haorenW1025/master

fix: add -fPIC flag to compiling
This commit is contained in:
Kiyan Yazdani 2020-04-23 11:33:06 +02:00 committed by GitHub
commit b7fdd6ae38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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