Skip to content

Instantly share code, notes, and snippets.

@pietern
Created August 30, 2011 16:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pietern/1181342 to your computer and use it in GitHub Desktop.
Save pietern/1181342 to your computer and use it in GitHub Desktop.
diff --git a/src/Makefile b/src/Makefile
index f2bbfac..1ad0e52 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -141,7 +141,7 @@ redis-benchmark.o:
$(QUIET_CC)$(CC) -c $(CFLAGS) -I../deps/hiredis $(DEBUG) $(COMPILE_TIME) $<
redis-cli: dependencies $(CLIOBJ)
- $(QUIET_LINK)$(CC) -o $(CLIPRGNAME) $(CCOPT) $(DEBUG) $(CLIOBJ) ../deps/hiredis/libhiredis.a ../deps/linenoise/linenoise.o
+ $(QUIET_LINK)$(CC) -o $(CLIPRGNAME) $(CCOPT) $(DEBUG) $(CLIOBJ) ../deps/hiredis/libhiredis.a ../deps/linenoise/linenoise.o $(CCLINK)
redis-cli.o:
$(QUIET_CC)$(CC) -c $(CFLAGS) -I../deps/hiredis -I../deps/linenoise $(DEBUG) $(COMPILE_TIME) $<
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment