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

Absolute vs. relative links.



In debian/packages.d/libc-dev.mk:

ifneq ($(libdir),/lib)
# Make links absolute, not relative
        cd $(tmpdir)/$@$(libdir); \
        for link in `find . -name '*.so' -type l`; do \
          linksrc=$$(readlink $$link | sed 's%../..%%'); \
          rm -f $$link; ln -sf $$linksrc $$link; done 
endif

This seems to go against section 11.5 of policy, and is also annoying me
when I'm trying to have my hurd-i386 cross-compiler pick up the right
libraries.

Anyone know why it's here?

Tks,
Jeff Bailey



Reply to: