Browse Source

libstdcxx: respect static binfmt build

Waldemar Brodkorb 9 years ago
parent
commit
3129e312fb
1 changed files with 2 additions and 0 deletions
  1. 2 0
      package/libstdcxx/Makefile

+ 2 - 0
package/libstdcxx/Makefile

@@ -19,9 +19,11 @@ BUILD_STYLE:=		manual
 INSTALL_STYLE:=		manual
 
 do-install:
+ifeq ($(ADK_TARGET_BINFMT_FLAT),)
 	${INSTALL_DIR} ${IDIR_LIBSTDCXX}/usr/${ADK_TARGET_LIBC_PATH}
 	$(CP) ${STAGING_TARGET_DIR}/usr/${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 2>/dev/null
+endif
 
 include ${ADK_TOPDIR}/mk/pkg-bottom.mk