]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - libselinux/patches/libselinux-ipfire.patch
libselinux: Update to 2.1.7.
[people/ms/ipfire-3.x.git] / libselinux / patches / libselinux-ipfire.patch
CommitLineData
397ea7dc
SS
1diff -Nur old/src/Makefile new/src/Makefile
2--- old/src/Makefile 2011-11-04 13:57:23.000000000 +0100
3+++ new/src/Makefile 2011-11-19 12:24:54.163850653 +0100
4@@ -102,7 +102,7 @@
5 $(CC) $(filter-out -Werror, $(CFLAGS)) $(PYINC) -fPIC -DSHARED -c -o $@ $<
72e67668 6
397ea7dc
SS
7 $(AUDIT2WHYSO): $(AUDIT2WHYLOBJ)
8- $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $^ -L. -lselinux $(LIBDIR)/libsepol.a -L$(LIBDIR) -Wl,-soname,$@
72e67668
SS
9+ $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $^ -L. -lselinux -lsepol -L$(LIBDIR) -Wl,-soname,$@
10
11 %.o: %.c policy.h
12 $(CC) $(CFLAGS) $(TLSFLAGS) -c -o $@ $<