Ticket Change Details
Not logged in
Overview

Artifact ID: 462d1b11ab54f5db8bbcdf7eae1a606c9620af90
Ticket: 6981de95b677bcc5ba7da4818015f1e5c049463f
Makefile for OpenSolaris/Solaris is not correct
User & Date: anonymous 2009-12-29 20:30:15
Changes

  1. Appended to comment:
    
    
    <hr><i>anonymous added on 2009-12-29 20:30:15:</i><br>
    This is the new patch for OpenSolaris 130, zlib need to be described in LIB variable.
    
    <pre>
    
    --- Makefile.orig       2009-12-29 13:20:21.449765912 -0600
    +++ Makefile    2009-12-29 14:27:05.946202215 -0600
    @@ -35,10 +35,8 @@
     #    chroot jail.
     #
     LIB = -lz $(LDFLAGS)
    -# If you're on OpenSolaris:
    -# LIB += lsocket
    -# Solaris 10 needs:
    -# LIB += -lsocket -lnsl
    +# Solaris 10/OpenSolaris  needs:
    +LIB += -lsocket -lnsl
     # My assumption is that the Sol10 flags will work for Sol8/9 and possibly 11.
    
    </pre>
    
     gcc info on opensolaris 130.
    
    <pre>
    root@600m:/pub/fossil/Fossil-86cbb69af2# gcc -v
    Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/specs
    Configured with: /builds2/sfwnv-gate/usr/src/cmd/gcc/gcc-3.4.3/configure 
    <snip>
    -languages=c,c++,f77,objc --enable-shared
    Thread model: posix
    gcc version 3.4.3 (csl-sol210-3_4-20050802)
    root@600m:/pub/fossil/Fossil-86cbb69af2#
    
    </pre>