diff options
| author | Adam <Adam@anope.org> | 2013-02-19 00:48:21 -0500 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2013-02-19 00:48:21 -0500 |
| commit | 7d50818ee1da97dcac0037d415047955c889d307 (patch) | |
| tree | 22bdb6a49842126fa38a90943573e43b30d52205 /modules | |
| parent | cb91f991a355344520c468495bd7d0f6f7359027 (diff) | |
Fix some OpenBSD build issues, and bugs #1485 #1486 #1487
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/CMakeLists.txt | 3 | ||||
| -rw-r--r-- | modules/extra/m_ssl.cpp | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/modules/CMakeLists.txt b/modules/CMakeLists.txt index 32fccd2d4..228618b0e 100644 --- a/modules/CMakeLists.txt +++ b/modules/CMakeLists.txt @@ -78,7 +78,6 @@ foreach(MODULE_FOLDER ${MODULES_FOLDERS}) endif(WIN32) set_target_properties(${SO} PROPERTIES LINKER_LANGUAGE CXX PREFIX "" SUFFIX "" LINK_FLAGS "${TEMP_LDFLAGS} ${WIN32_NO_LIBS}" INSTALL_RPATH_USE_LINK_PATH ON BUILD_WITH_INSTALL_RPATH ON) add_dependencies(${SO} ${PROGRAM_NAME}) - target_link_libraries(${SO} ${PROGRAM_NAME}) if(GETTEXT_FOUND) add_dependencies(${SO} module_language) endif(GETTEXT_FOUND) @@ -87,7 +86,7 @@ foreach(MODULE_FOLDER ${MODULES_FOLDERS}) target_link_libraries(${SO} ${PROGRAM_NAME} wsock32 Ws2_32 ${WIN32_MEMORY} ${TEMP_DEPENDENCIES}) set_target_properties(${PROGRAM_NAME} PROPERTIES VERSION "${VERSION_DOTTED}") else(WIN32) - target_link_libraries(${SO} ${PROGRAM_NAME} ${TEMP_DEPENDENCIES}) + target_link_libraries(${SO} ${TEMP_DEPENDENCIES}) endif(WIN32) # Set the module to be installed to the module directory under the data directory install(TARGETS ${SO} diff --git a/modules/extra/m_ssl.cpp b/modules/extra/m_ssl.cpp index 9929c6f15..7158a5ce5 100644 --- a/modules/extra/m_ssl.cpp +++ b/modules/extra/m_ssl.cpp @@ -1,4 +1,4 @@ -/* RequiredLibraries: ssl,crypt */ +/* RequiredLibraries: ssl,crypto */ #include "module.h" #include "ssl.h" |
