diff options
author | Jan Engelhardt <jengelh@inai.de> | 2012-11-26 23:01:53 (GMT) |
---|---|---|
committer | Thomas Graf <tgraf@suug.ch> | 2012-11-27 08:57:42 (GMT) |
commit | ab7f42e0bc97f4e04bcbc9f09b0ac41a06f90cf3 (patch) | |
tree | 940a3e2efa4a8853e8a655873e6a942b10c927c7 | |
parent | ffd051fc9a93f7b0757dfdde6e33460850f76041 (diff) | |
download | libnl-ab7f42e0bc97f4e04bcbc9f09b0ac41a06f90cf3.zip libnl-ab7f42e0bc97f4e04bcbc9f09b0ac41a06f90cf3.tar.gz libnl-ab7f42e0bc97f4e04bcbc9f09b0ac41a06f90cf3.tar.bz2 |
build: resolve lex failure
This is an addendum to 0a9d5fcfa4c3fe8c930103f7639723dfd1ae4889,
which forgot to change ${LEX} to ${FLEX} in lib/Makefile.am.
On openSUSE, /usr/bin/lex is a wrapper that calls `flex -l ...`.
libnl however requires flex, not lex or a compat mode thereof,
so using ${FLEX} is the proper thing to do.
Signed-off-by: Jan Engelhardt <jengelh@inai.de>
-rw-r--r-- | lib/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am index 7481941..5adaffb 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -41,13 +41,13 @@ CLEANFILES = \ # Hack to avoid using ylwrap. It does not function correctly in combination # with --header-file= route/pktloc_grammar.c: route/pktloc_grammar.l - $(AM_V_GEN) $(LEX) --header-file=route/pktloc_grammar.h $(LFLAGS) -o $@ $^ + $(AM_V_GEN) $(FLEX) --header-file=route/pktloc_grammar.h $(LFLAGS) -o $@ $^ route/pktloc_syntax.c: route/pktloc_syntax.y $(AM_V_GEN) $(YACC) -d $(YFLAGS) -o $@ $^ route/cls/ematch_grammar.c: route/cls/ematch_grammar.l - $(AM_V_GEN) $(LEX) --header-file=route/cls/ematch_grammar.h $(LFLAGS) -o $@ $^ + $(AM_V_GEN) $(FLEX) --header-file=route/cls/ematch_grammar.h $(LFLAGS) -o $@ $^ route/cls/ematch_syntax.c: route/cls/ematch_syntax.y $(AM_V_GEN) $(YACC) -d $(YFLAGS) -o $@ $^ |