From 1d274aca2dca306d7dd6e37d81e54e278d175a9d Mon Sep 17 00:00:00 2001 From: Eric Paris Date: Mon, 31 Oct 2011 10:48:38 -0400 Subject: [PATCH] checkpolicy: drop libsepol dynamic link in checkpolicy Checkpolicy was using the static link to libsepol, but also defining a dynamic link (that wasn't needed). This confuses gdb. Drop the dynamic link request. Signed-off-by: Eric Paris Acked-by: Dan Walsh --- checkpolicy/test/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/checkpolicy/test/Makefile b/checkpolicy/test/Makefile index fe1bf5d2..65cf9013 100644 --- a/checkpolicy/test/Makefile +++ b/checkpolicy/test/Makefile @@ -9,7 +9,7 @@ INCLUDEDIR ?= $(PREFIX)/include CFLAGS ?= -g -Wall -O2 -pipe override CFLAGS += -I$(INCLUDEDIR) -LDLIBS=-lfl -lsepol -lselinux $(LIBDIR)/libsepol.a -L$(LIBDIR) +LDLIBS=-lfl -lselinux $(LIBDIR)/libsepol.a -L$(LIBDIR) all: dispol dismod