linux: Fix relocation error when compiling as shared library

This commit is contained in:
Cheng Zhao 2015-04-01 23:44:55 +08:00
parent 211e386c89
commit 95528f9207

View file

@ -95,6 +95,8 @@
'-Wno-unused-value',
'-Wno-deprecated-declarations',
'-Wno-return-type',
# Fix relocation error when compiling as shared library.
'-fPIC',
],
}],
],