Project

General

Profile

Bug #1761 ยป modulename.patch

fixes loadable-module naming on mac os x -- wiml - Anonymous, 2008-08-27 06:32

View differences:

cmake/LighttpdMacros.cmake (working copy)
ADD_LIBRARY(${LIBNAME} STATIC ${SRCFILES})
TARGET_LINK_LIBRARIES(lighttpd ${LIBNAME})
ELSE(BUILD_STATIC)
ADD_LIBRARY(${LIBNAME} SHARED ${SRCFILES})
ADD_LIBRARY(${LIBNAME} MODULE ${SRCFILES})
SET(L_INSTALL_TARGETS ${L_INSTALL_TARGETS} ${LIBNAME})
SET_TARGET_PROPERTIES(${LIBNAME} PROPERTIES PREFIX "")
## Windows likes to link it this way back to app!
IF(WIN32)
SET_TARGET_PROPERTIES(${LIBNAME} PROPERTIES LINK_FLAGS lighttpd.lib)
src/CMakeLists.txt (working copy)
OPTION(BUILD_STATIC "build a static lighttpd with all modules added")
IF(BUILD_STATIC)
SET(LIGHTTPD_STATIC 1)
ELSE(BUILD_STATIC)
SET(CMAKE_SHARED_LIBRARY_PREFIX "")
ENDIF(BUILD_STATIC)
IF(WITH_WEBDAV_PROPS)
    (1-1/1)