suggest add -fPIC to linux.ini
dannyZhou opened this issue · comments
danny commented
hi .
if i want to make cocos2d-x to dynamic library , I need to make all static library to add -fPIC
so i suggest add -fPIC to linux.ini
such that
cfg_build_release_mode="-O3 -fPIC -DNDEBUG"
cfg_build_debug_mode="-O0 -fPIC -g -DDEBUG"
子龙山人 commented
@dannyZhou You could change it when compiling your libs.
danny commented
OK, thank you !