[Sheepdog] [PATCH][Accord] apps: added libpath by -L option to pass compile

Tsuyoshi OZAWA ozawa.tsuyoshi at gmail.com
Fri Dec 30 09:48:15 CET 2011


Applied.

On Mon, Dec 26, 2011 at 7:52 AM, OZAWA Tsuyoshi
<ozawa.tsuyoshi at gmail.com> wrote:
> 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
>



-- 
OZAWA Tsuyoshi



More information about the sheepdog mailing list