Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在编译opencv项目时,我需要隐藏它们所有的接口,所以在为opencv生成Makefile时需要添加一个编译选项“-fvisibility=hidden”来配置。
问题是,如何添加编译选项来配置。
您是否尝试过设置 CFLAG,例如:
CFLAGS="-fvisibility=hidden" ./configure