summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/eglibc.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/mk/eglibc.mk b/mk/eglibc.mk
index fab3087..469f61d 100644
--- a/mk/eglibc.mk
+++ b/mk/eglibc.mk
@@ -93,6 +93,8 @@ endef
define __embtk_install_eglibc_headers
$(call embtk_pinfo,"Installing eglibc headers...")
$(call embtk_download_pkg,eglibc)
+ [ -e $(EGLIBC_SRC_DIR)/libc/ports ] || \
+ ln -sf $(EGLIBC_SRC_DIR)/ports $(EGLIBC_SRC_DIR)/libc/ports
$(embtk_parse_eglibc_optgroups)
$(embtk_configure_eglibc_headers)
$(MAKE) -C $(EGLIBC_HEADERS_BUILD_DIR) install-headers \