Check-in [1bceafc4d0]
Not logged in
Overview

SHA1 Hash:1bceafc4d0c563636bcc079b330fd14be78210b8
Date: 2008-04-25 21:49:25
User: stephan
Comment:LIB is now += LDFLAGS so that i can link on OpenSolaris (need -lsocket)
Timelines: ancestors | descendants | both | trunk
Other Links: files | ZIP archive | manifest

Tags And Properties
Changes
[hide diffs]

Modified Makefile from [80acf0670d] to [46d6595aa1].

@@ -32,14 +32,18 @@
 #    to link against the Z-Lib compression library.  There are no
 #    other dependencies.  We sometimes add the -static option here
 #    so that we can build a static executable that will run in a
 #    chroot jail.
 #
-LIB = -lz
+LIB = -lz $(LDFLAGS)
+# If you're on OpenSolaris, and probably other Solaris versions,
+# you'll need:
+# LIB += -lsocket
+
 
 #### Tcl shell for use in running the fossil testsuite.
 #
 TCLSH = tclsh
 
 # You should not need to change anything below this line
 ###############################################################################
 include $(SRCDIR)/main.mk