Skip to content

Commit

Permalink
fix build for daemon
Browse files Browse the repository at this point in the history
  • Loading branch information
r4sas committed Feb 7, 2018
1 parent f36cf5c commit 3cea71d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/makefile.bsd
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/makefile.mingw
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/makefile.osx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 3cea71d

Please sign in to comment.