Browse Source

easier static builds (STATIC=yes)

This will also disable AESNI
pull/108/head
Kill Your TV 10 years ago
parent
commit
3e826cd6dc
  1. 8
      Makefile.linux

8
Makefile.linux

@ -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…
Cancel
Save