On Mon, Aug 03, 2009 at 10:13:08PM +0800, [email protected] wrote:
> I have 'ldd libMy.so':
> 
> lib3rdParty.so => /absolute/path/lib3rdParty.so (0x0056c000)
> 
> Is it possible to remove the info in red by setting some flags in gcc
> option?

Take a look at the various RPATH variables/properties:

http://www.cmake.org/cmake/help/cmake2.6docs.html#prop_tgt:BUILD_WITH_INSTALL_RPATH
http://www.cmake.org/cmake/help/cmake2.6docs.html#variable:CMAKE_SKIP_RPATH
http://www.cmake.org/cmake/help/cmake2.6docs.html#prop_tgt:SKIP_BUILD_RPATH

tyler
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to