Fossil SCM
LIB is now += LDFLAGS so that i can link on OpenSolaris (need -lsocket)
Commit
1bceafc4d0c563636bcc079b330fd14be78210b8
Parent
0c78ba2eb48c14b…
1 file changed
+5
-1
M
Makefile
+5
-1
| --- Makefile | ||
| +++ Makefile | ||
| @@ -32,11 +32,15 @@ | ||
| 32 | 32 | # to link against the Z-Lib compression library. There are no |
| 33 | 33 | # other dependencies. We sometimes add the -static option here |
| 34 | 34 | # so that we can build a static executable that will run in a |
| 35 | 35 | # chroot jail. |
| 36 | 36 | # |
| 37 | -LIB = -lz | |
| 37 | +LIB = -lz $(LDFLAGS) | |
| 38 | +# If you're on OpenSolaris, and probably other Solaris versions, | |
| 39 | +# you'll need: | |
| 40 | +# LIB += -lsocket | |
| 41 | + | |
| 38 | 42 | |
| 39 | 43 | #### Tcl shell for use in running the fossil testsuite. |
| 40 | 44 | # |
| 41 | 45 | TCLSH = tclsh |
| 42 | 46 | |
| 43 | 47 |
| --- Makefile | |
| +++ Makefile | |
| @@ -32,11 +32,15 @@ | |
| 32 | # to link against the Z-Lib compression library. There are no |
| 33 | # other dependencies. We sometimes add the -static option here |
| 34 | # so that we can build a static executable that will run in a |
| 35 | # chroot jail. |
| 36 | # |
| 37 | LIB = -lz |
| 38 | |
| 39 | #### Tcl shell for use in running the fossil testsuite. |
| 40 | # |
| 41 | TCLSH = tclsh |
| 42 | |
| 43 |
| --- Makefile | |
| +++ Makefile | |
| @@ -32,11 +32,15 @@ | |
| 32 | # to link against the Z-Lib compression library. There are no |
| 33 | # other dependencies. We sometimes add the -static option here |
| 34 | # so that we can build a static executable that will run in a |
| 35 | # chroot jail. |
| 36 | # |
| 37 | LIB = -lz $(LDFLAGS) |
| 38 | # If you're on OpenSolaris, and probably other Solaris versions, |
| 39 | # you'll need: |
| 40 | # LIB += -lsocket |
| 41 | |
| 42 | |
| 43 | #### Tcl shell for use in running the fossil testsuite. |
| 44 | # |
| 45 | TCLSH = tclsh |
| 46 | |
| 47 |