Browse Source

don't make executable as shared

pull/118/head
orignal 10 years ago
parent
commit
d6fe4556fb
  1. 2
      Makefile
  2. 2
      Makefile.linux

2
Makefile

@ -36,7 +36,7 @@ $(I2PD): $(patsubst %.cpp,obj/%.o,$(DAEMON_SRC)) @@ -36,7 +36,7 @@ $(I2PD): $(patsubst %.cpp,obj/%.o,$(DAEMON_SRC))
$(CXX) -o $@ $^ $(LDFLAGS) $(LDLIBS)
$(SHLIB): $(patsubst %.cpp,obj/%.o,$(LIB_SRC))
$(CXX) -o $@ $^ $(LDFLAGS) $(LDLIBS)
$(CXX) -o $@ $^ $(LDFLAGS) $(LDLIBS) -shared
clean:
rm -fr obj $(I2PD) $(SHLIB)

2
Makefile.linux

@ -26,7 +26,7 @@ ifeq ($(USE_STATIC),yes) @@ -26,7 +26,7 @@ ifeq ($(USE_STATIC),yes)
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 -shared
LDLIBS = -lcryptopp -lboost_system -lboost_date_time -lboost_filesystem -lboost_regex -lboost_program_options -lpthread
endif
GREP = fgrep

Loading…
Cancel
Save