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
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)