Don't build the lib when making static binaries

Without this, building on 64-bit systems will fail.
pull/118/head
Kill Your TV 10 years ago
parent e5c2022f71
commit e4cc15d19e

@ -44,7 +44,9 @@ $(I2PD): $(patsubst %.cpp,obj/%.o,$(DAEMON_SRC))
$(CXX) -o $@ $^ $(LDLIBS) $(LDFLAGS)
$(SHLIB): $(patsubst %.cpp,obj/%.o,$(LIB_SRC))
ifneq ($(USE_STATIC),yes)
$(CXX) $(CXXFLAGS) $(NEEDED_CXXFLAGS) $(INCFLAGS) $(CPU_FLAGS) -shared -o $@ $^
endif
clean:
rm -fr obj $(I2PD) $(SHLIB)

Loading…
Cancel
Save