summaryrefslogtreecommitdiff
path: root/package/libstdcxx/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/libstdcxx/Makefile')
-rw-r--r--package/libstdcxx/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/libstdcxx/Makefile b/package/libstdcxx/Makefile
index 1d6359c59..05de53da2 100644
--- a/package/libstdcxx/Makefile
+++ b/package/libstdcxx/Makefile
@@ -13,8 +13,16 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBSTDCXX,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+CONFIG_STYLE:= manual
+BUILD_STYLE:= manual
+INSTALL_STYLE:= manual
+
do-install:
${INSTALL_DIR} ${IDIR_LIBSTDCXX}/lib
+ifeq ($(ADK_NATIVE),y)
+ $(CP) /usr/lib/libstdc++.so.* ${IDIR_LIBSTDCXX}/lib
+else
$(CP) ${STAGING_DIR}/lib/libstdc++.so.* ${IDIR_LIBSTDCXX}/lib
+endif
include ${TOPDIR}/mk/pkg-bottom.mk