gst1-plugins-base: bump to version 1.10.4
[buildroot-gz.git] / package / libsepol / 0003-revert-ln-relative.patch
blob0902d8d40ecb33416811413c93c77c3cb13941e2
1 Makefile: revert libsepol: use ln --relative to create .so symlinks
3 This reverts 71393a181d63c9baae5fe8dcaeb9411d1f253998
5 ln --relative is too recent to be available in all distributions,
6 especially enterprise-grade distros that can stick around as long as
7 they are maintained (up to 10 years in some cases?).
9 For the sake of Buildroot, revert the upstream patch.
11 Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
13 diff -durN a/src/Makefile b/src/Makefile
14 --- a/src/Makefile
15 +++ b/src/Makefile
16 @@ -77,7 +77,7 @@
17 ifeq ($(STATIC),)
18 test -d $(SHLIBDIR) || install -m 755 -d $(SHLIBDIR)
19 install -m 755 $(LIBSO) $(SHLIBDIR)
20 - ln -sf --relative $(SHLIBDIR)/$(LIBSO) $(LIBDIR)/$(TARGET)
21 + cd $(LIBDIR) && ln -sf ../../`basename $(SHLIBDIR)`/$(LIBSO) $(TARGET)
22 endif
24 relabel: