cocos2d / cocos2d-x-3rd-party-libs-src

Dependencies of cocos2d-x.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

suggest add -fPIC to linux.ini

dannyZhou opened this issue · comments

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"

@dannyZhou You could change it when compiling your libs.

commented

OK, thank you !