Closed dannyZhou closed 9 years ago
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.
OK, thank you !
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"