Browse Source

fix build for daemon

pull/29/head
R4SAS 7 years ago
parent
commit
3cea71da9e
  1. 2
      src/makefile.bsd
  2. 2
      src/makefile.mingw
  3. 2
      src/makefile.osx

2
src/makefile.bsd

@ -13,7 +13,7 @@ NEEDED_CXXFLAGS = -std=c++11 -D_GLIBCXX_USE_NANOSLEEP=1 @@ -13,7 +13,7 @@ NEEDED_CXXFLAGS = -std=c++11 -D_GLIBCXX_USE_NANOSLEEP=1
LINK:=$(CXX)
DEFS=-DBOOST_SPIRIT_THREADSAFE -DBOOST_NO_CXX11_SCOPED_ENUMS -D_FILE_OFFSET_BITS=64 -DUSE_NATIVE_I2P
DEFS=-DBOOST_SPIRIT_THREADSAFE -DBOOST_NO_CXX11_SCOPED_ENUMS -D_FILE_OFFSET_BITS=64 -DBOOST_ASIO_ENABLE_OLD_SERVICES -DUSE_NATIVE_I2P
DEFS += $(addprefix -I,$(CURDIR) $(CURDIR)/obj $(CURDIR)/i2psam $(BOOST_INCLUDE_PATH) $(BDB_INCLUDE_PATH) $(OPENSSL_INCLUDE_PATH))
LIBS = $(addprefix -L,$(BOOST_LIB_PATH) $(BDB_LIB_PATH) $(OPENSSL_LIB_PATH) /usr/local/lib /usr/local/lib/db5)

2
src/makefile.mingw

@ -45,7 +45,7 @@ LIBS= \ @@ -45,7 +45,7 @@ LIBS= \
-lssl \
-lcrypto
DEFS=-D_MT -DWIN32 -D_WINDOWS -DWIN32_LEAN_AND_MEAN -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_NATIVE_I2P
DEFS=-D_MT -DWIN32 -D_WINDOWS -DWIN32_LEAN_AND_MEAN -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DBOOST_ASIO_ENABLE_OLD_SERVICES -DUSE_NATIVE_I2P
ifneq (${USE_DEBUG}, 0)
DEBUGFLAGS=-g

2
src/makefile.osx vendored

@ -57,7 +57,7 @@ LIBS += \ @@ -57,7 +57,7 @@ LIBS += \
TESTDEFS += -DBOOST_TEST_DYN_LINK
endif
DEFS=-DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_NATIVE_I2P
DEFS=-DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DBOOST_ASIO_ENABLE_OLD_SERVICES -DUSE_NATIVE_I2P
ifdef RELEASE
# Compile for maximum compatibility and smallest size.

Loading…
Cancel
Save