|
| From: | Brandon J. Van Every |
| Subject: | [Chicken-users] -ldl -ldl in Autoconf |
| Date: | Thu, 07 Sep 2006 00:01:12 -0700 |
| User-agent: | Thunderbird 1.5.0.5 (Windows/20060719) |
John Cowan wrote:
Brandon J. Van Every scripsit: I believe Autoconf is handling -ldl wrong. Here's my CMake code: CHECK_INCLUDE_FILE(dlfcn.h HAVE_DLFCN_H) IF(HAVE_DLFCN_H) # The presence of dlfcn.h does NOT mean that -ldl is used. # For instance, Cygwin has dlfcn.h and does not use -ldl. FIND_LIBRARY(DL_LIBRARY dl) IF(DL_LIBRARY) SET(MORE_LIBS ${MORE_LIBS} dl) SET(MORE_STATIC_LIBS ${MORE_STATIC_LIBS} dl) ENDIF(DL_LIBRARY) ENDIF(HAVE_DLFCN_H) Cheers, Brandon Van Every |
| [Prev in Thread] | Current Thread | [Next in Thread] |