PATCH: fix libsepol tests build error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Now that the bulk of policy_parse.y has been split out into
policy_define.c, libsepol/tests/Makefile needs to link against
policy_define.o too.

Signed-off-by: Todd C. Miller <tmiller@xxxxxxxxxx>

 Makefile |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Index: trunk/libsepol/tests/Makefile
===================================================================
--- trunk/libsepol/tests/Makefile	(revision 2843)
+++ trunk/libsepol/tests/Makefile	(working copy)
@@ -16,8 +16,9 @@
 
 # test program object files
 objs := $(patsubst %.c,%.o,$(wildcard *.c))
-parserobjs := $(CHECKPOLICY)queue.o $(CHECKPOLICY)y.tab.o $(CHECKPOLICY)parse_util.o $(CHECKPOLICY)lex.yy.o \
-	$(CHECKPOLICY)module_compiler.o
+parserobjs := $(CHECKPOLICY)queue.o $(CHECKPOLICY)y.tab.o \
+	$(CHECKPOLICY)parse_util.o $(CHECKPOLICY)lex.yy.o \
+	$(CHECKPOLICY)policy_define.o $(CHECKPOLICY)module_compiler.o
 
 # test policy pieces
 m4support := $(wildcard policies/support/*.spt)

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.

[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux