From: Will Estes Date: Wed, 14 May 2008 19:35:12 +0000 (+0000) Subject: move library flags in linker command; resolves patch #1943403; patch submitted by... X-Git-Tag: flex-2-5-36~55 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6973f886e98598c59665cae41120bef099b6ee65;p=flex move library flags in linker command; resolves patch #1943403; patch submitted by nullnix@users.sourceforge.net --- diff --git a/tests/test-pthread/Makefile.am b/tests/test-pthread/Makefile.am index 7d2d062..87474f7 100644 --- a/tests/test-pthread/Makefile.am +++ b/tests/test-pthread/Makefile.am @@ -27,7 +27,7 @@ CLEANFILES = scanner.c scanner.h parser.c parser.h $(testname)$(EXEEXT) OUTPUT $ OBJS = scanner.o # parser.o AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_builddir) -LDFLAGS = -lpthread +LIBS = -lpthread #LFLAGS = --header="scanner.h" #YFLAGS = --defines --output=parser.c @@ -37,7 +37,7 @@ scanner.c: $(srcdir)/scanner.l $(FLEX) $(LFLAGS) $< $(testname)$(EXEEXT): $(OBJS) - $(CC) -o $@ $(LDFLAGS) $(OBJS) $(LOADLIBES) + $(CC) -o $@ $(LDFLAGS) $(OBJS) $(LIBS) $(LOADLIBES) test: $(testname)$(EXEEXT) ./$(testname) $(srcdir)/test-*.input