The Samba-Bugzilla – Attachment 6708 Details for
Bug 8234
smbtatools compilation error on Solaris 10
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
SunOS (Solaris) Detection and addition of libraries
patch (text/plain), 934 bytes, created by
Holger Hetterich
on 2011-07-20 21:04:26 UTC
(
hide
)
Description:
SunOS (Solaris) Detection and addition of libraries
Filename:
MIME Type:
Creator:
Holger Hetterich
Created:
2011-07-20 21:04:26 UTC
Size:
934 bytes
patch
obsolete
>commit bbd6b71738c5a2d899323bd7f6e61f811f0e0674 >Author: Holger Hetterich <hhetter@novell.com> >Date: Wed Jul 20 22:57:53 2011 +0200 > > Add a test for SunOS, and then build with the socket and nsl library > there. > >diff --git a/CMakeLists.txt b/CMakeLists.txt >index 7a49d2a..b1abfa6 100644 >--- a/CMakeLists.txt >+++ b/CMakeLists.txt >@@ -17,6 +17,16 @@ SET(CMAKE_BUILD_TYPE "Debug") > SET(CMAKE_C_FLAGS_DEBUG "-g -Wall") > #SET(CMAKE_VERBOSE_MAKEFILE ON) > >+# compile on SunOS >+if (CMAKE_SYSTEM_NAME STREQUAL "SunOS" ) >+ ADD_DEFINITIONS(-DSOLARIS) >+ SET(Libraries >+ ${Libraries} >+ socket >+ nsl) >+endif() >+ >+ > # > # check for libdbi > # >@@ -143,7 +153,7 @@ SET(CurrentExe "smbtatorturesrv") > ADD_EXECUTABLE(${CurrentExe} > src/torture/srv/smbtatorturesrv.c > ) >-TARGET_LINK_LIBRARIES(${CurrentExe}) >+TARGET_LINK_LIBRARIES(${CurrentExe} ${Libraries}) > > SET(CurrentExe "rrddriver") > ADD_EXECUTABLE(${CurrentExe}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 8234
: 6708