diff --git a/checkpolicy/Makefile b/checkpolicy/Makefile index 53a30745..875cf008 100644 --- a/checkpolicy/Makefile +++ b/checkpolicy/Makefile @@ -20,7 +20,7 @@ CHECKOBJS = y.tab.o lex.yy.o queue.o module_compiler.o parse_util.o \ CHECKPOLOBJS = $(CHECKOBJS) checkpolicy.o CHECKMODOBJS = $(CHECKOBJS) checkmodule.o -LDLIBS=$(LIBDIR)/libsepol.a -lfl +LDLIBS=$(LIBDIR)/libsepol.a GENERATED=lex.yy.c y.tab.c y.tab.h diff --git a/checkpolicy/test/Makefile b/checkpolicy/test/Makefile index c2367e19..e7bd717a 100644 --- a/checkpolicy/test/Makefile +++ b/checkpolicy/test/Makefile @@ -9,7 +9,7 @@ INCLUDEDIR ?= $(PREFIX)/include CFLAGS ?= -g -Wall -W -Werror -O2 -pipe override CFLAGS += -I$(INCLUDEDIR) -LDLIBS=-lfl $(LIBDIR)/libsepol.a -L$(LIBDIR) +LDLIBS=$(LIBDIR)/libsepol.a -L$(LIBDIR) all: dispol dismod