Project

General

Profile

modulename.patch

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

View differences:

cmake/LighttpdMacros.cmake (working copy)
5 5
    ADD_LIBRARY(${LIBNAME} STATIC ${SRCFILES})
6 6
    TARGET_LINK_LIBRARIES(lighttpd ${LIBNAME})
7 7
  ELSE(BUILD_STATIC)
8
    ADD_LIBRARY(${LIBNAME} SHARED ${SRCFILES})
8
    ADD_LIBRARY(${LIBNAME} MODULE ${SRCFILES})
9 9
    SET(L_INSTALL_TARGETS ${L_INSTALL_TARGETS} ${LIBNAME})
10
    SET_TARGET_PROPERTIES(${LIBNAME} PROPERTIES PREFIX "")
10 11
    ## Windows likes to link it this way back to app!
11 12
    IF(WIN32)
12 13
        SET_TARGET_PROPERTIES(${LIBNAME} PROPERTIES LINK_FLAGS lighttpd.lib)
src/CMakeLists.txt (working copy)
28 28
OPTION(BUILD_STATIC "build a static lighttpd with all modules added")
29 29
IF(BUILD_STATIC)
30 30
  SET(LIGHTTPD_STATIC 1)
31
ELSE(BUILD_STATIC)
32
  SET(CMAKE_SHARED_LIBRARY_PREFIX "")
33 31
ENDIF(BUILD_STATIC)
34 32

  
35 33
IF(WITH_WEBDAV_PROPS)