[Sheepdog] [PATCH][Accord] apps: added libpath by -L option to pass compile
OZAWA Tsuyoshi
ozawa.tsuyoshi at gmail.com
Sun Dec 25 23:52:46 CET 2011
The compile of apps/queue is broken because of illegal option.
This patch fixes the problem.
Signed-off-by: OZAWA Tsuyoshi <ozawa.tsuyoshi at gmail.com>
---
apps/queue/Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/apps/queue/Makefile b/apps/queue/Makefile
index 6f750a5..a0e494c 100644
--- a/apps/queue/Makefile
+++ b/apps/queue/Makefile
@@ -2,7 +2,7 @@ sbindir ?= $(PREFIX)/sbin
CFLAGS += -g -O3 -Wall -Wstrict-prototypes -I../../include
CFLAGS += -D_GNU_SOURCE -DNDEBUG
-LIBS += -lpthread -lacrd
+LIBS += -L../../libacrd -lpthread -lacrd
PROGRAMS = qbench
QUEUE_OBJS = queue.o
@@ -12,7 +12,7 @@ QUEUE_DEP = $(ACCORD_OBJS:.o=.d)
all: $(PROGRAMS)
qbench: $(QUEUE_OBJS)
- $(CC) $^ -o $@ $(LIBS)
+ $(CC) $(CFLAGS) $^ -o $@ $(LIBS)
-include $(ACCORD_DEP)
--
1.7.2.5
More information about the sheepdog
mailing list