fix mklibs with musl

crate a relative symlink to libc.so because
make wildcard function ignores broken symlinks

SVN-Revision: 46123
This commit is contained in:
Matteo Croce
2015-06-25 10:14:22 +00:00
parent 9bdae8fc1e
commit c37d7a7e8f
2 changed files with 12 additions and 1 deletions

View File

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