#19899: building trunk fails since musl made the default libc
------------------------+------------------------
  Reporter:  tgayoso@…  |      Owner:  developers
      Type:  defect     |     Status:  new
  Priority:  normal     |  Milestone:
 Component:  packages   |    Version:  Trunk
Resolution:             |   Keywords:
------------------------+------------------------

Comment (by mt@…):

 This patches fixes building trunk with musl for me:

 {{{
 diff --git a/package/Makefile b/package/Makefile
 index 5fb7363..31e66f9 100644
 --- a/package/Makefile
 +++ b/package/Makefile
 @@ -41,7 +41,7 @@ ifdef CONFIG_USE_MKLIBS
                 --sysroot $(STAGING_DIR_ROOT) \
                 `cat $(TMP_DIR)/mklibs-libs | sed 's:/*[^/]\+/*$$::' |
 uniq | sed 's:^$(STAGING_DIR_ROOT):-L :'` \
                 --ldlib $(patsubst $(STAGING_DIR_ROOT)/%,/%,$(firstword
 $(wildcard \
 -                       $(foreach name,ld-uClibc.so.* ld-linux.so.*
 ld-*.so, \
 +                       $(foreach name,ld-uClibc.so.* libc.so ld-
 linux.so.* ld-*.so, \
                           $(STAGING_DIR_ROOT)/lib/$(name) \
                         )))) \
                 --target $(REAL_GNU_TARGET_NAME) \
 }}}

--
Ticket URL: <https://dev.openwrt.org/ticket/19899#comment:3>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to