mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 21:37:17 +01:00
easier static builds (STATIC=yes)
This will also disable AESNI
This commit is contained in:
parent
2f8c37b132
commit
3e826cd6dc
|
@ -20,7 +20,15 @@ LIBDIR := /usr/lib
|
||||||
|
|
||||||
include filelist.mk
|
include filelist.mk
|
||||||
INCFLAGS =
|
INCFLAGS =
|
||||||
|
ifeq ($(STATIC),yes)
|
||||||
|
LDLIBS += $(LIBDIR)/libcryptopp.a $(LIBDIR)/libboost_system.a
|
||||||
|
LDLIBS += $(LIBDIR)/libboost_date_time.a $(LIBDIR)/libboost_filesystem.a
|
||||||
|
LDLIBS += $(LIBDIR)/libboost_regex.a $(LIBDIR)/libboost_program_options.a
|
||||||
|
LDLIBS += -lpthread -static-libstdc++ -static-libgcc
|
||||||
|
USE_AESNI := no
|
||||||
|
else
|
||||||
LDLIBS = -lcryptopp -lboost_system -lboost_date_time -lboost_filesystem -lboost_regex -lboost_program_options -lpthread
|
LDLIBS = -lcryptopp -lboost_system -lboost_date_time -lboost_filesystem -lboost_regex -lboost_program_options -lpthread
|
||||||
|
endif
|
||||||
LIBS =
|
LIBS =
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue