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

Dependencies of cocos2d-x.
142 stars 169 forks source link

suggest add -fPIC to linux.ini #59

Closed dannyZhou closed 9 years ago

dannyZhou commented 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"

zilongshanren commented 9 years ago

@dannyZhou You could change it when compiling your libs.

dannyZhou commented 9 years ago

OK, thank you !