summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-08-14 11:40:39 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-08-14 11:40:39 +0200
commitfb3678fa42e866e8a43f1401b685c7ebe6e58a16 (patch)
treec519d60ad4455f795b85c8a9525a0a3312925ee9
parent34087d5a956936acf29516f79dedee615455ff56 (diff)
add ldd
-rw-r--r--package/musl/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/musl/Makefile b/package/musl/Makefile
index f37fd2eb2..7c7874aa9 100644
--- a/package/musl/Makefile
+++ b/package/musl/Makefile
@@ -25,10 +25,13 @@ INSTALL_STYLE:= manual
# do nothing, musl is already build in toolchain directory
do-install:
+ ${INSTALL_DIR} $(IDIR_MUSL)/usr/bin
${INSTALL_DIR} $(IDIR_MUSL)/$(ADK_TARGET_LIBC_PATH)
$(CP) $(STAGING_TARGET_DIR)/usr/lib/libc.so $(IDIR_MUSL)/$(ADK_TARGET_LIBC_PATH)
(cd $(IDIR_MUSL)/$(ADK_TARGET_LIBC_PATH) && \
ln -sf libc.so ld-musl-$(ARCH).so.1)
+ (cd $(IDIR_MUSL)/usr/bin && \
+ ln -sf ../../lib/ld-musl-$(ARCH).so.1 ldd)
musl-dev-install: