The following issue has been SUBMITTED. ====================================================================== http://www.cmake.org/Bug/view.php?id=13573 ====================================================================== Reported By: muhkuh Assigned To: ====================================================================== Project: CMake Issue ID: 13573 Category: CMake Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2012-10-05 10:01 EDT Last Modified: 2012-10-05 10:01 EDT ====================================================================== Summary: RPATH not supported when cross compiling for FreeBSD Description: We have a MinGW hosted gcc cross compiler for windows that that targets FreeBSD. The created makefiles for MinGW make don't add any -rpath options to the linker command line.
Steps to Reproduce: I don't really know how how to provide a test case. The cross compiler is pretty large as it needs a lot of system libraries and headers to function properly. I can provide it if neccessary. Additional Information: I think the reason for this is in: CMAKE_ROOT/share/cmake-2.8/Modules/Platform/FreeBSD.cmake. If I comment out the checks for existence of a file "/usr/include/dlfcn.h" everything starts working. Unfortunately I don't know the proper way to deal with this in a way that it still checks what it is supposed to check in a cross compiling environment. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2012-10-05 10:01 muhkuh New Issue ====================================================================== -- 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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers