mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 21:37:17 +01:00
don't make executable as shared
This commit is contained in:
parent
6ad0313dbe
commit
d6fe4556fb
2
Makefile
2
Makefile
|
@ -36,7 +36,7 @@ $(I2PD): $(patsubst %.cpp,obj/%.o,$(DAEMON_SRC))
|
||||||
$(CXX) -o $@ $^ $(LDFLAGS) $(LDLIBS)
|
$(CXX) -o $@ $^ $(LDFLAGS) $(LDLIBS)
|
||||||
|
|
||||||
$(SHLIB): $(patsubst %.cpp,obj/%.o,$(LIB_SRC))
|
$(SHLIB): $(patsubst %.cpp,obj/%.o,$(LIB_SRC))
|
||||||
$(CXX) -o $@ $^ $(LDFLAGS) $(LDLIBS)
|
$(CXX) -o $@ $^ $(LDFLAGS) $(LDLIBS) -shared
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -fr obj $(I2PD) $(SHLIB)
|
rm -fr obj $(I2PD) $(SHLIB)
|
||||||
|
|
|
@ -26,7 +26,7 @@ ifeq ($(USE_STATIC),yes)
|
||||||
LDLIBS += -lpthread -static-libstdc++ -static-libgcc
|
LDLIBS += -lpthread -static-libstdc++ -static-libgcc
|
||||||
USE_AESNI := no
|
USE_AESNI := no
|
||||||
else
|
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
|
endif
|
||||||
|
|
||||||
GREP = fgrep
|
GREP = fgrep
|
||||||
|
|
Loading…
Reference in a new issue