1
0

002-Makefile.patch 532 B

1234567891011121314151617181920
  1. --- a/src/Makefile
  2. +++ b/src/Makefile
  3. @@ -1,7 +1,7 @@
  4. # In case of windows, use os_cygwin=yes setting in the configuration file (smsd.conf).
  5. # Select your setup size:
  6. -CFLAGS = -D NUMBER_OF_MODEMS=64
  7. +CFLAGS ?= -D NUMBER_OF_MODEMS=64
  8. # Uncomment for Solaris
  9. # CFLAGS += -D SOLARIS
  10. @@ -43,7 +43,7 @@ smsd: smsd.c extras.o locking.o cfgfile.
  11. ifneq (,$(findstring SOLARIS,$(CFLAGS)))
  12. ifeq (,$(findstring DISABLE_INET_SOCKET,$(CFLAGS)))
  13. -override LFLAGS += -lsocket -lnsl
  14. + override LFLAGS += -lsocket -lnsl
  15. endif
  16. endif