summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-10-12 16:56:24 +0200
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-10-12 16:56:24 +0200
commit3f802ca2af0b09bcaa366e29636613673b0a50d2 (patch)
treed236b9a54d4b66644340779849e0531b05a7cd35
parent98f545ee85e19c5f06aef755bb1be497f88d64f4 (diff)
fix multilib support
-rw-r--r--package/libstdcxx/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/libstdcxx/Makefile b/package/libstdcxx/Makefile
index f6c0d2dc2..a84d85b3d 100644
--- a/package/libstdcxx/Makefile
+++ b/package/libstdcxx/Makefile
@@ -28,12 +28,12 @@ BUILD_STYLE:= manual
INSTALL_STYLE:= manual
do-install:
- ${INSTALL_DIR} ${IDIR_LIBSTDCXX}/usr/lib
+ ${INSTALL_DIR} ${IDIR_LIBSTDCXX}/usr/${ADK_TARGET_LIBC_PATH}
ifeq ($(ADK_NATIVE),y)
$(CP) /usr/lib/libstdc++.so* ${IDIR_LIBSTDCXX}/usr/lib
else
- $(CP) ${STAGING_TARGET_DIR}/lib/libstdc++.so* ${IDIR_LIBSTDCXX}/usr/lib
- -@rm ${IDIR_LIBSTDCXX}/usr/lib/libstdc++.so.*-gdb.py
+ $(CP) ${STAGING_TARGET_DIR}/${ADK_TARGET_LIBC_PATH}/libstdc++.so* ${IDIR_LIBSTDCXX}/usr/${ADK_TARGET_LIBC_PATH}
+ -@rm ${IDIR_LIBSTDCXX}/usr/${ADK_TARGET_LIBC_PATH}/libstdc++.so.*-gdb.py
endif
include ${TOPDIR}/mk/pkg-bottom.mk