mirror of
git://git.yoctoproject.org/meta-selinux
synced 2026-01-01 13:58:04 +00:00
checkpolicy: remove link against libfl
An updated version of the patch to drop linking against libfl was required. Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
This commit is contained in:
parent
2bbe49e099
commit
869aded23e
|
|
@ -11,7 +11,7 @@ LICENSE = "GPLv2+"
|
|||
|
||||
DEPENDS += "libsepol libselinux bison-native flex-native"
|
||||
|
||||
#SRC_URI += "file://checkpolicy-Do-not-link-against-libfl.patch"
|
||||
SRC_URI += "file://checkpolicy-Do-not-link-against-libfl.patch"
|
||||
|
||||
EXTRA_OEMAKE += "PREFIX=${D}"
|
||||
EXTRA_OEMAKE += "LEX='flex'"
|
||||
|
|
|
|||
|
|
@ -8,6 +8,8 @@ no longer get errors about undefined references to yylex.
|
|||
Upstream-status: Pending
|
||||
|
||||
Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
|
||||
Signed-off-by: Shrikant Bobade <Shrikant_Bobade@mentor.com>¶
|
||||
|
||||
---
|
||||
Makefile | 2 +-
|
||||
test/Makefile | 2 +-
|
||||
|
|
@ -34,8 +36,8 @@ index 63b4d24..0f19a8a 100644
|
|||
CFLAGS ?= -g -Wall -W -Werror -O2 -pipe
|
||||
override CFLAGS += -I$(INCLUDEDIR)
|
||||
|
||||
-LDLIBS=-lfl -lselinux $(LIBDIR)/libsepol.a -L$(LIBDIR)
|
||||
+LDLIBS=-lselinux $(LIBDIR)/libsepol.a -L$(LIBDIR)
|
||||
-LDLIBS=-lfl $(LIBDIR)/libsepol.a -L$(LIBDIR)
|
||||
+LDLIBS=$(LIBDIR)/libsepol.a -L$(LIBDIR)
|
||||
|
||||
all: dispol dismod
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user