mirror of
https://github.com/SELinuxProject/selinux
synced 2024-12-13 17:44:54 +00:00
1d274aca2d
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 <eparis@redhat.com> Acked-by: Dan Walsh <dwalsh@redhat.com>
22 lines
358 B
Makefile
22 lines
358 B
Makefile
#
|
|
# Makefile for building the dispol program
|
|
#
|
|
PREFIX ?= $(DESTDIR)/usr
|
|
BINDIR=$(PREFIX)/bin
|
|
LIBDIR=$(PREFIX)/lib
|
|
INCLUDEDIR ?= $(PREFIX)/include
|
|
|
|
CFLAGS ?= -g -Wall -O2 -pipe
|
|
override CFLAGS += -I$(INCLUDEDIR)
|
|
|
|
LDLIBS=-lfl -lselinux $(LIBDIR)/libsepol.a -L$(LIBDIR)
|
|
|
|
all: dispol dismod
|
|
|
|
dispol: dispol.o
|
|
|
|
dismod: dismod.o
|
|
|
|
clean:
|
|
-rm -f dispol dismod *.o
|