linux: Fix relocation error when compiling as shared library
This commit is contained in:
parent
211e386c89
commit
95528f9207
1 changed files with 2 additions and 0 deletions
|
@ -95,6 +95,8 @@
|
||||||
'-Wno-unused-value',
|
'-Wno-unused-value',
|
||||||
'-Wno-deprecated-declarations',
|
'-Wno-deprecated-declarations',
|
||||||
'-Wno-return-type',
|
'-Wno-return-type',
|
||||||
|
# Fix relocation error when compiling as shared library.
|
||||||
|
'-fPIC',
|
||||||
],
|
],
|
||||||
}],
|
}],
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue