summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-17 20:53:39 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-17 20:53:39 +0100
commit0de5d9ecedff55481b3c1eb9c3841de17716a485 (patch)
treebbd8ac42607d95279d977b541a3eec43cea7f6b3 /package
parent61f978300c334c3e2466d24bed56ae6a1720d2b2 (diff)
these symlinks are required
Diffstat (limited to 'package')
-rw-r--r--package/libstdcxx/Makefile4
-rw-r--r--package/uclibc/Makefile3
2 files changed, 5 insertions, 2 deletions
diff --git a/package/libstdcxx/Makefile b/package/libstdcxx/Makefile
index 470cc57a7..efdb3ba72 100644
--- a/package/libstdcxx/Makefile
+++ b/package/libstdcxx/Makefile
@@ -29,9 +29,9 @@ INSTALL_STYLE:= manual
do-install:
${INSTALL_DIR} ${IDIR_LIBSTDCXX}/usr/lib
ifeq ($(ADK_NATIVE),y)
- $(CP) /usr/lib/libstdc++.so.* ${IDIR_LIBSTDCXX}/usr/lib
+ $(CP) /usr/lib/libstdc++.so* ${IDIR_LIBSTDCXX}/usr/lib
else
- $(CP) ${STAGING_TARGET_DIR}/usr/lib/libstdc++.so* ${IDIR_LIBSTDCXX}/usr/lib
+ $(CP) ${STAGING_TARGET_DIR}/lib/libstdc++.so* ${IDIR_LIBSTDCXX}/usr/lib
endif
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/uclibc/Makefile b/package/uclibc/Makefile
index 4c4cb447b..90b9f49f9 100644
--- a/package/uclibc/Makefile
+++ b/package/uclibc/Makefile
@@ -30,6 +30,9 @@ do-install: $(STAGING_TARGET_DIR)/lib/libc.so
test -z $(ADK_RUNTIME_TIMEZONE) || \
grep $(ADK_RUNTIME_TIMEZONE) ./files/tz.lst | \
cut -f 2 > $(IDIR_UCLIBC)/etc/TZ
+ifeq ($(ADK_TOOLCHAIN_GCC_USE_SSP),y)
+ $(CP) $(STAGING_TARGET_DIR)/lib/libssp.so* $(IDIR_UCLIBC)/lib/
+endif
$(CP) $(STAGING_TARGET_DIR)/lib/libc.so* $(IDIR_UCLIBC)/lib/
$(CP) $(STAGING_TARGET_DIR)/lib/libuClibc-$(PKG_VERSION).so \
$(IDIR_UCLIBC)/lib/