Fossil SCM
Slight syntax tweak for 'ifeq' statement, this may work on more make variants.
Commit
f382b9a559250f1d44ba566c374cb183a04dd103
Parent
f3096fe00ef8806…
1 file changed
+1
-1
+1
-1
| --- Makefile.classic | ||
| +++ Makefile.classic | ||
| @@ -105,11 +105,11 @@ | ||
| 105 | 105 | # Automatic platform-specific options. |
| 106 | 106 | HOST_OS_CMD = uname -s |
| 107 | 107 | HOST_OS = $(HOST_OS_CMD:sh) |
| 108 | 108 | |
| 109 | 109 | # On MinGW, slightly different detection magic is required. |
| 110 | -ifeq '$(HOST_OS)' '' | |
| 110 | +ifeq ($(HOST_OS),) | |
| 111 | 111 | HOST_OS = $(shell $(HOST_OS_CMD)) |
| 112 | 112 | endif |
| 113 | 113 | |
| 114 | 114 | LIB.SunOS= -lsocket -lnsl |
| 115 | 115 | LIB += $(LIB.$(HOST_OS)) |
| 116 | 116 |
| --- Makefile.classic | |
| +++ Makefile.classic | |
| @@ -105,11 +105,11 @@ | |
| 105 | # Automatic platform-specific options. |
| 106 | HOST_OS_CMD = uname -s |
| 107 | HOST_OS = $(HOST_OS_CMD:sh) |
| 108 | |
| 109 | # On MinGW, slightly different detection magic is required. |
| 110 | ifeq '$(HOST_OS)' '' |
| 111 | HOST_OS = $(shell $(HOST_OS_CMD)) |
| 112 | endif |
| 113 | |
| 114 | LIB.SunOS= -lsocket -lnsl |
| 115 | LIB += $(LIB.$(HOST_OS)) |
| 116 |
| --- Makefile.classic | |
| +++ Makefile.classic | |
| @@ -105,11 +105,11 @@ | |
| 105 | # Automatic platform-specific options. |
| 106 | HOST_OS_CMD = uname -s |
| 107 | HOST_OS = $(HOST_OS_CMD:sh) |
| 108 | |
| 109 | # On MinGW, slightly different detection magic is required. |
| 110 | ifeq ($(HOST_OS),) |
| 111 | HOST_OS = $(shell $(HOST_OS_CMD)) |
| 112 | endif |
| 113 | |
| 114 | LIB.SunOS= -lsocket -lnsl |
| 115 | LIB += $(LIB.$(HOST_OS)) |
| 116 |