From c37d7a7e8f35e2f0ffa3a5dac89cea138f5ca193 Mon Sep 17 00:00:00 2001 From: Matteo Croce Date: Thu, 25 Jun 2015 10:14:22 +0000 Subject: fix mklibs with musl crate a relative symlink to libc.so because make wildcard function ignores broken symlinks SVN-Revision: 46123 --- toolchain/musl/patches/300-relative.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 toolchain/musl/patches/300-relative.patch (limited to 'toolchain/musl/patches') diff --git a/toolchain/musl/patches/300-relative.patch b/toolchain/musl/patches/300-relative.patch new file mode 100644 index 0000000..dc7d167 --- /dev/null +++ b/toolchain/musl/patches/300-relative.patch @@ -0,0 +1,11 @@ +--- a/Makefile ++++ b/Makefile +@@ -180,7 +180,7 @@ $(DESTDIR)$(includedir)/%: include/% + $(INSTALL) -D -m 644 $< $@ + + $(DESTDIR)$(LDSO_PATHNAME): $(DESTDIR)$(libdir)/libc.so +- $(INSTALL) -D -l $(libdir)/libc.so $@ || true ++ $(INSTALL) -D -l libc.so $@ || true + + install-libs: $(ALL_LIBS:lib/%=$(DESTDIR)$(libdir)/%) $(if $(SHARED_LIBS),$(DESTDIR)$(LDSO_PATHNAME),) + -- cgit v1.1