Skip to content

Commit

Permalink
Fix double linking zlib
Browse files Browse the repository at this point in the history
  • Loading branch information
marekkokot authored Feb 8, 2024
1 parent 45d68f9 commit 9cd471f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -171,15 +171,15 @@ $(LIB_KMC_CORE): $(KMC_CORE_OBJS) $(RADULS_OBJS) $(KMC_API_OBJS) $(KFF_OBJS)

kmc: $(KMC_CLI_OBJS) $(LIB_KMC_CORE) $(LIB_ZLIB)
-mkdir -p $(OUT_BIN_DIR)
$(CC) $(CLINK) -o $(OUT_BIN_DIR)/$@ $^ $(LIB_ZLIB)
$(CC) $(CLINK) -o $(OUT_BIN_DIR)/$@ $^

kmc_dump: $(KMC_DUMP_OBJS) $(KMC_API_OBJS)
-mkdir -p $(OUT_BIN_DIR)
$(CC) $(CLINK) -o $(OUT_BIN_DIR)/$@ $^

kmc_tools: $(KMC_TOOLS_OBJS) $(KMC_API_OBJS) $(KFF_OBJS) $(LIB_ZLIB)
-mkdir -p $(OUT_BIN_DIR)
$(CC) $(CLINK) -I 3rd_party/cloudflare -o $(OUT_BIN_DIR)/$@ $^ $(LIB_ZLIB)
$(CC) $(CLINK) -I 3rd_party/cloudflare -o $(OUT_BIN_DIR)/$@ $^

$(PY_KMC_API_DIR)/%.o: $(KMC_API_DIR)/%.cpp
$(CC) -c -fPIC -Wall -O3 $(CPU_FLAGS) -std=c++14 $^ -o $@
Expand Down

0 comments on commit 9cd471f

Please sign in to comment.