Brandon J. Van Every wrote:
I have investigated, and I'm not convinced that the -ldl is coming from my code. My code is:

CHECK_INCLUDE_FILE(dl.h HAVE_DL_H)
IF(HAVE_DL_H)
  ADD_DEFINITIONS(-DHAVE_DL_H)
  SET(EXTRA_LIBS ${EXTRA_LIBS} ldl)
ENDIF(HAVE_DL_H)

There is no dl.h on any hard drive of my system. Which is to be expected, as it's a Linux thing. I think the -ldl more likely from building CMake 2.4.2 on Cygwin incorrectly. I will await your canonical version and see if the problem goes away.

What does HAVE_DL_H say in your cache? If you remove the entry manually from the file does it come back with "yes"?

-Brad
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to