mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
* almost fixed static linking
This commit is contained in:
parent
05a62af99b
commit
cf8e229098
2 changed files with 5 additions and 5 deletions
4
Makefile
4
Makefile
|
@ -33,10 +33,10 @@ obj/%.o : %.cpp %.h
|
|||
$(CXX) $(CXXFLAGS) $(INCFLAGS) -c -o $@ $<
|
||||
|
||||
$(I2PD): $(patsubst %.cpp,obj/%.o,$(DAEMON_SRC))
|
||||
$(CXX) -o $@ $(LDLIBS) $(LDFLAGS) $^
|
||||
$(CXX) -o $@ $^ $(LDFLAGS) $(LDLIBS)
|
||||
|
||||
$(SHLIB): $(patsubst %.cpp,obj/%.o,$(LIB_SRC))
|
||||
$(CXX) -o $@ -shared $(CXXFLAGS) $(INCFLAGS) $^
|
||||
$(CXX) -o $@ $^ $(LDFLAGS) $(LDLIBS)
|
||||
|
||||
clean:
|
||||
rm -fr obj $(I2PD) $(SHLIB)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue